31std::pair<Matrix<double>,
int>
42 while(r > TOL && iter < maxIter) {
size_t rows() const
Definition: Matrix.h:193
Matrix< double > gaussSeidel(const Matrix< double > &A, const Matrix< double > &b)
Definition: gaussSeidel.h:29
std::function< Matrix< double >(const Matrix< double > &)> Jacobian
representation of jacobian
Definition: newton.h:18
std::pair< Matrix< double >, int > newton(const LinearEquation &f, const Jacobian &Df, const Matrix< double > &x0, double TOL, int maxIter)
Definition: newton.h:32
std::function< Matrix< double >(const Matrix< double > &)> LinearEquation
representation of linear equation
Definition: newton.h:20
double norm(const Matrix< double > &in)