GenGeo  1.1
simplex_method< T, n > Class Template Reference

#include <simplex.h>

Public Member Functions

 simplex_method (nfunction< T, n > *)
nvector< T, n > solve (T, const nvector< T, n > &, int max=-1)

Private Member Functions

nvector< T, n > reflect (int)
void insert (const nvector< T, n > &, T, int)
void shrink ()
void sort ()

Private Attributes

nfunction< T, n > * m_func
nvector< T, n > m_vert [n+1]
m_val [n+1]

Constructor & Destructor Documentation

template<class T , int n>
simplex_method< T, n >::simplex_method ( nfunction< T, n > *  f)

Member Function Documentation

template<class T , int n>
void simplex_method< T, n >::insert ( const nvector< T, n > &  vert,
val,
int  idx 
)
private
template<class T , int n>
nvector< T, n > simplex_method< T, n >::reflect ( int  idx)
private
template<class T , int n>
void simplex_method< T, n >::shrink ( )
private
template<class T , int n>
nvector< T, n > simplex_method< T, n >::solve ( lim,
const nvector< T, n > &  start,
int  max = -1 
)

References nvector< T, n >::unit().

Referenced by FitSphere2D(), and FitSphere3D().

Here is the call graph for this function:

template<class T , int n>
void simplex_method< T, n >::sort ( )
private

Member Data Documentation

template<class T, int n>
nfunction<T,n>* simplex_method< T, n >::m_func
private
template<class T, int n>
T simplex_method< T, n >::m_val[n+1]
private
template<class T, int n>
nvector<T,n> simplex_method< T, n >::m_vert[n+1]
private

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