Extension: Matrix functions
#include "dg/matrix/matrix.h"
Loading...
Searching...
No Matches
optimise.h File Reference
#include "dg/algorithm.h"
#include "tridiaginv.h"

Go to the source code of this file.

Namespaces

namespace  dg
 Functions for optimizing Contours.
 
namespace  dg::mat
 

Functions

template<class Gradient , class InvHessian , class ContainerType >
unsigned dg::mat::newton (Gradient grad, InvHessian invhess, ContainerType &x0, double tol=1e-5, unsigned max_iter=1000)
 Newton iteration.
 
template<class Func , class Jacobian , class ContainerType0 , class ContainerType1 >
unsigned dg::mat::levenberg_marquardt (Func fun, Jacobian jac, ContainerType0 &x0, const ContainerType1 &copyable, double tol=1e-8, unsigned max_iter=1000)
 The Levenberg Marquardt algorithm.