1#ifndef CHI_MATH_SERIAL_NEWTON_ITERATION_H
2#define CHI_MATH_SERIAL_NEWTON_ITERATION_H
20 VecDbl result(x.size(), 0.0);
35 unsigned int max_iters,
std::vector< VecDbl > MatDbl
std::vector< double > VecDbl
virtual MatDbl J(const VecDbl &x) const
virtual VecDbl F(const VecDbl &x) const
virtual ~NonLinearFunction()=default
VecDbl NewtonIteration(const NonLinearFunction &non_linear_function, const VecDbl &x_0, unsigned int max_iters, double epsilon, bool verbose=false)