PICCANTE  0.4
The hottest HDR imaging library!
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
pic::NelderMeadOptPositivePolynomial Class Reference

#include <nelder_mead_opt_positive_polynomial.hpp>

Inheritance diagram for pic::NelderMeadOptPositivePolynomial:
pic::NelderMeadOptBase< float >

Public Member Functions

 NelderMeadOptPositivePolynomial (std::vector< float > &px, std::vector< float > &py)
 
float function (float *x, unsigned int n)
 function More...
 
- Public Member Functions inherited from pic::NelderMeadOptBase< float >
 NelderMeadOptBase ()
 NelderMeadOptBase. More...
 
void GlobalSettings ()
 GlobalSettings. More...
 
virtual float * run (float *x_start, unsigned int n, float epsilon=1e-4f, int max_iterations=1000, float *x=NULL)
 

Static Public Member Functions

static void test ()
 

Protected Attributes

std::vector< float > px
 
std::vector< float > py
 
- Protected Attributes inherited from pic::NelderMeadOptBase< float >
bool bStopMean
 
float delta
 
float delta_zero
 
float alpha
 
float gamma
 
float lambda
 
float sigma
 
std::vector< std::pair< float, float *> > simplex
 

Additional Inherited Members

- Public Attributes inherited from pic::NelderMeadOptBase< float >
int max_iterations
 
float output_error
 
- Protected Member Functions inherited from pic::NelderMeadOptBase< float >
void InitSimplex (float *x0, unsigned int n)
 InitSimplex. More...
 
void ComputeMean (float *x_mean, unsigned int n)
 ComputeMean. More...
 
float ComputeReflected (float *x_r, float *x_mean, unsigned int n)
 ComputeReflected. More...
 
float ComputeExpansion (float *x_e, float *x_mean, unsigned int n)
 ComputeExpansion. More...
 
float ComputeContractionInside (float *x_c, float *x_mean, unsigned int n)
 ComputeContractionInside. More...
 
void ComputeReduction (unsigned int n)
 ComputeReduction. More...
 
float * run_aux (float *x_start, unsigned int n, float epsilon, int max_iterations=1000, float *x=NULL)
 run_aux More...
 

Constructor & Destructor Documentation

◆ NelderMeadOptPositivePolynomial()

pic::NelderMeadOptPositivePolynomial::NelderMeadOptPositivePolynomial ( std::vector< float > &  px,
std::vector< float > &  py 
)
inline

Member Function Documentation

◆ function()

float pic::NelderMeadOptPositivePolynomial::function ( float *  x,
unsigned int  n 
)
inlinevirtual

function

Returns

Reimplemented from pic::NelderMeadOptBase< float >.

◆ test()

static void pic::NelderMeadOptPositivePolynomial::test ( )
inlinestatic

Member Data Documentation

◆ px

std::vector< float > pic::NelderMeadOptPositivePolynomial::px
protected

◆ py

std::vector< float > pic::NelderMeadOptPositivePolynomial::py
protected

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