Skip to content

An inspiring example of an interface between a functional back-end and an imperative front-end.

Notifications You must be signed in to change notification settings

yaremenko8/FUNCTIONAL_TO_IMPERATIVE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix related computational methods implemented functionally

This repository contains source files for a program designed to perform the following computations:

  • Solving SLE using Gaussian elemination
  • Solving SLE using Gaussian elemination with leading element
  • Solving SLE using successive over-relaxation
  • Computing matrix determinant using Gaussian elemination
  • Computing inverse matrix using Gauss-Jordan elimination
  • Computing the condition number of a linear map

The project was initially an academic task, but other than that I consider it a decent example of my aproach to dealing with Haskell's clumsiness when it comes to interacting with system calls. I solve this by interfacing haskell with a small snipet of C code. In fact any imperative language will do, it's just that C seems a good choice, since the interface module I've developed to implement such an interface is universal, simple in exploitation and can be reused in future projects or even made into a built-in library. That makes it an easy to set up and an inspiringly beneficial fusion.

The repository also contains a matrix generator script, four testing scripts and my report for the aforementioned academic assignment.

About

An inspiring example of an interface between a functional back-end and an imperative front-end.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published