Skip to content

This repository contains algorithms for numerical methods. Feel free to contribute to it or use it in your own projects. It currently contains matrix functions and functions to solve linear equations

License

Notifications You must be signed in to change notification settings

maheshbansod/math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math library

This repository contains algorithms for numerical methods. Feel free to use them in your own projects. It contains matrix related functions and functions to solve linear equations.

Include the file "Matrix.hpp" for matrix functions and "EquationSystem.hpp" for solving equation systems.

Compiling and running tests

For compiling:
$ make main

Execution

$ ./main n
for nth test
Test 1: addition, subtraction, multiplication, determinant, symmetric, identity.
Test 2: diagonally dominant and gaussian elimination
Test 3: gauss jacobi method
Test 4: gauss seidel method and cholesky method
Test 5: doolittle's method and crout's method for matrix decomposition
Test 6: numerical integration methods - trapezoidal, simpson's 1/3rd rule, simpson's 3/8th rule

About

This repository contains algorithms for numerical methods. Feel free to contribute to it or use it in your own projects. It currently contains matrix functions and functions to solve linear equations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published