Heidelberg Educational Numerics Library Version 0.24 (from 9 September 2011)
Public Types | Public Member Functions

hdnum::SquareRootProblem< N > Class Template Reference

Example class for a nonlinear model F(x) = 0;. More...

#include <newton.hh>

List of all members.

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

Detailed Description

template<class N>
class hdnum::SquareRootProblem< N >

Example class for a nonlinear model F(x) = 0;.

This example solves F(x) = x*x - a = 0

Template Parameters:
Na type representing x and F components

The documentation for this class was generated from the following file: