NM API reference
Non-Linear Solver
# include "myNM.h"
Newton-raphson
Finds the solution of a non-linear equation with the given range.
void newtonraphson()
Parameters
vector type m
Linear Solver
solveLinear()
solves for vector x from Ax=b, a linear system problem
Parameters
A: Matrix A in structure Matrix form. Should be (nxn) square.
b: vector b in structure Matrix form. Should be (nx1)
method: character type,
'lu' : LU decomposition
'gauss': Gauss elimination
Examples
Last updated