Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance 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

Readme

License

MIT license

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors