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

Convex function with a simple minimum. More...

#include <primatologist/optimization/test_functions.h>

Public Member Functions

 SphereF (int n=2)
 
 ~SphereF ()
 
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 simple minimum.

Definition at line 85 of file test_functions.h.

Constructor & Destructor Documentation

◆ SphereF()

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

◆ ~SphereF()

aims::math::SphereF::~SphereF ( )

Member Function Documentation

◆ derivative()

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

◆ exactMin()

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

◆ exactMinValue()

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

◆ hessian()

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

◆ value()

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

Member Data Documentation

◆ _n

float aims::math::SphereF::_n
protected

Definition at line 99 of file test_functions.h.


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