Heidelberg Educational Numerics Library Version 0.27 (from 15 March 2021)
|
Example class for a nonlinear model F(x) = 0;. More...
#include <newton.hh>
Public Types | |
typedef std::size_t | size_type |
export size_type | |
typedef N | number_type |
export number_type | |
Public Member Functions | |
SquareRootProblem (number_type a_) | |
constructor stores parameter lambda | |
std::size_t | size () const |
return number of componentes for the model | |
void | F (const Vector< N > &x, Vector< N > &result) const |
model evaluation | |
void | F_x (const Vector< N > &x, DenseMatrix< N > &result) const |
jacobian evaluation needed for implicit solvers | |
Example class for a nonlinear model F(x) = 0;.
This example solves F(x) = x*x - a = 0
N | a type representing x and F components |