Heidelberg Educational Numerics Library Version 0.27 (from 15 March 2021)
Classes | Functions
newton.hh File Reference

Newton's method with line search. More...

#include "lr.hh"
#include <type_traits>

Go to the source code of this file.

Classes

class  hdnum::SquareRootProblem< N >
 Example class for a nonlinear model F(x) = 0;. More...
 
class  hdnum::GenericNonlinearProblem< Lambda, Vec >
 A generic problem class that can be set up with a lambda defining F(x)=0. More...
 
class  hdnum::Newton
 Solve nonlinear problem using a damped Newton method. More...
 
class  hdnum::Banach
 Solve nonlinear problem using a fixed point iteration. More...
 

Functions

template<typename F , typename X >
GenericNonlinearProblem< F, Xhdnum::getNonlinearProblem (const F &f, const X &x, typename X::value_type eps=1e-7)
 A function returning a problem class.
 

Detailed Description

Newton's method with line search.

Function Documentation

◆ getNonlinearProblem()

template<typename F , typename X >
GenericNonlinearProblem< F, X > hdnum::getNonlinearProblem ( const F & f,
const X & x,
typename X::value_type eps = 1e-7 )

A function returning a problem class.

Automatic template parameter extraction makes fiddling with types unnecessary.

Template Parameters
Fa lambda mapping a Vector to a Vector
Xthe type for the Vector