Points&Forces (core)
Software tools facilitating the task of surveying architecture
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
a_fn Class Referenceabstract

a function unit More...

#include <a_fn.h>

+ Collaboration diagram for a_fn:

Public Member Functions

 a_fn (int nv=1, double dmin=1.e-5, double gmin=1e-6)
 
virtual ~a_fn ()
 
void dmin (double dmin)
 
double dmin ()
 
void gmin (double gmin)
 
double gmin ()
 
int nv ()
 
a_mat_cgetX ()
 
double getX (int ai)
 
void showX (std::ostream &o)
 
void setX (const a_mat_c &)
 
void setX (int ai, double val)
 
virtual double getF ()=0
 
double getdF (int ai)
 
void getGrad (a_mat_c &)
 
void dx (int ai)
 
void newton (int ai)
 
void incr (double alpha, const a_mat_c &dir)
 
void minGold0 (const a_mat_c &dir, double A1, double B1)
 
void minGold (const a_mat_c &dir)
 
void mingrad ()
 
void minsyst ()
 
bool minver ()
 
void minDFP ()
 

Protected Member Functions

void setx0 ()
 

Protected Attributes

int nv_
 
a_mat_cx_
 
a_mat_cx0_
 
double dmin_
 
double gmin_
 

Detailed Description

a function unit

Definition at line 30 of file a_fn.h.

Constructor & Destructor Documentation

◆ a_fn()

a_fn::a_fn ( int  nv = 1,
double  dmin = 1.e-5,
double  gmin = 1e-6 
)

Definition at line 24 of file a_fn.cxx.

◆ ~a_fn()

a_fn::~a_fn ( )
virtual

Definition at line 30 of file a_fn.cxx.

Member Function Documentation

◆ dmin() [1/2]

double a_fn::dmin ( )
inline

Definition at line 37 of file a_fn.h.

◆ dmin() [2/2]

void a_fn::dmin ( double  dmin)
inline

Definition at line 36 of file a_fn.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dx()

void a_fn::dx ( int  ai)

Definition at line 71 of file a_fn.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getdF()

double a_fn::getdF ( int  ai)

Definition at line 53 of file a_fn.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getF()

virtual double a_fn::getF ( )
pure virtual
+ Here is the caller graph for this function:

◆ getGrad()

void a_fn::getGrad ( a_mat_c grad)

Definition at line 65 of file a_fn.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getX() [1/2]

a_mat_c* a_fn::getX ( )
inline

Definition at line 41 of file a_fn.h.

+ Here is the caller graph for this function:

◆ getX() [2/2]

double a_fn::getX ( int  ai)
inline

Definition at line 42 of file a_fn.h.

◆ gmin() [1/2]

double a_fn::gmin ( )
inline

Definition at line 39 of file a_fn.h.

◆ gmin() [2/2]

void a_fn::gmin ( double  gmin)
inline

Definition at line 38 of file a_fn.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ incr()

void a_fn::incr ( double  alpha,
const a_mat_c dir 
)

Definition at line 96 of file a_fn.cxx.

◆ minDFP()

void a_fn::minDFP ( )

Definition at line 282 of file a_fn.cxx.

+ Here is the call graph for this function:

◆ minGold()

void a_fn::minGold ( const a_mat_c dir)

Definition at line 175 of file a_fn.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ minGold0()

void a_fn::minGold0 ( const a_mat_c dir,
double  A1,
double  B1 
)

Definition at line 119 of file a_fn.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mingrad()

void a_fn::mingrad ( )

Definition at line 225 of file a_fn.cxx.

+ Here is the call graph for this function:

◆ minsyst()

void a_fn::minsyst ( )

Definition at line 240 of file a_fn.cxx.

+ Here is the call graph for this function:

◆ minver()

bool a_fn::minver ( )

Definition at line 259 of file a_fn.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ newton()

void a_fn::newton ( int  ai)

Definition at line 79 of file a_fn.cxx.

+ Here is the call graph for this function:

◆ nv()

int a_fn::nv ( )
inline

Definition at line 40 of file a_fn.h.

◆ setX() [1/2]

void a_fn::setX ( const a_mat_c x)

Definition at line 47 of file a_fn.cxx.

◆ setX() [2/2]

void a_fn::setX ( int  ai,
double  val 
)
inline

Definition at line 45 of file a_fn.h.

◆ setx0()

void a_fn::setx0 ( )
inlineprotected

Definition at line 66 of file a_fn.h.

+ Here is the caller graph for this function:

◆ showX()

void a_fn::showX ( std::ostream &  o)

Definition at line 35 of file a_fn.cxx.

Member Data Documentation

◆ dmin_

double a_fn::dmin_
protected

Definition at line 63 of file a_fn.h.

◆ gmin_

double a_fn::gmin_
protected

Definition at line 64 of file a_fn.h.

◆ nv_

int a_fn::nv_
protected

Definition at line 60 of file a_fn.h.

◆ x0_

a_mat_c* a_fn::x0_
protected

Definition at line 62 of file a_fn.h.

◆ x_

a_mat_c* a_fn::x_
protected

Definition at line 61 of file a_fn.h.


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