primatologist-gpl  5.1.2
aims::math::Rosenbrock Class Reference

Convex function with a valley. More...

#include <primatologist/optimization/test_functions.h>

Public Member Functions

 Rosenbrock (int n=2)
 
 ~Rosenbrock ()
 
float value (const Vector &x) const
 
Vector derivative (const Vector &x) const
 
Matrix hessian (const Vector &x) const
 
Vector exactMin () const
 
float exactMinValue () const
 

Protected Attributes

float _n
 

Detailed Description

Convex function with a valley.

Definition at line 107 of file test_functions.h.

Constructor & Destructor Documentation

◆ Rosenbrock()

aims::math::Rosenbrock::Rosenbrock ( int  n = 2)

◆ ~Rosenbrock()

aims::math::Rosenbrock::~Rosenbrock ( )

Member Function Documentation

◆ derivative()

Vector aims::math::Rosenbrock::derivative ( const Vector x) const

◆ exactMin()

Vector aims::math::Rosenbrock::exactMin ( ) const

◆ exactMinValue()

float aims::math::Rosenbrock::exactMinValue ( ) const

◆ hessian()

Matrix aims::math::Rosenbrock::hessian ( const Vector x) const

◆ value()

float aims::math::Rosenbrock::value ( const Vector x) const

Member Data Documentation

◆ _n

float aims::math::Rosenbrock::_n
protected

Definition at line 121 of file test_functions.h.


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