1.2.2
CCC
 
ClassicalPolynomial Class Reference

#include <ClassicalPolynomial.hpp>

Inheritance diagram for ClassicalPolynomial:
APolynomial AStringable ICloneable

Public Member Functions

 ClassicalPolynomial ()
 
 ClassicalPolynomial (const VectorDouble &)
 
virtual ~ClassicalPolynomial ()
 
double eval (double x) const override
 ICloneable interface. More...
 
void evalDerivOp (ShiftOpCs *shiftOp, const VectorDouble &inv, VectorDouble &outv, int iapex, int igparam) const
 
void evalDerivOpOptim (ShiftOpCs *shiftOp, VectorDouble &temp1, VectorDouble &temp2, VectorDouble &outv, const VectorVectorDouble workpoly, int iapex, int igparam) const
 
void evalOp (const ALinearOpMulti *, const VectorVectorDouble &, VectorVectorDouble &) const override
 
void evalOpTraining (MatrixSparse *Op, const VectorDouble &inv, VectorVectorDouble &store, VectorDouble &work) const override
 
void evalOpCumul (MatrixSparse *Op, const VectorDouble &inv, VectorDouble &outv) const
 
void evalOp (MatrixSparse *Op, const VectorDouble &inv, VectorDouble &outv) const override
 
- Public Member Functions inherited from APolynomial
 APolynomial ()
 
 APolynomial (VectorDouble coeffs)
 
 APolynomial (const APolynomial &p)
 
APolynomialoperator= (const APolynomial &p)
 
virtual ~APolynomial ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 Interface for AStringable. More...
 
void init (VectorDouble coeffs)
 
VectorDouble evalOp (MatrixSparse *Op, const VectorDouble &inv) const
 
VectorDouble getCoeffs () const
 
void setCoeffs (const VectorDouble coeffs)
 
int getDegree () const
 
virtual int fit (std::function< double(double)> f, double from=0., double to=1., double tol=EPSILON5)
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 
- Public Member Functions inherited from ICloneable
 ICloneable ()
 
virtual ~ICloneable ()
 
virtual ICloneableclone () const =0
 

Constructor & Destructor Documentation

ClassicalPolynomial::ClassicalPolynomial ( )
ClassicalPolynomial::ClassicalPolynomial ( const VectorDouble coeffs)
ClassicalPolynomial::~ClassicalPolynomial ( )
virtual

Member Function Documentation

double ClassicalPolynomial::eval ( double  x) const
overridevirtual

ICloneable interface.

Implements APolynomial.

void ClassicalPolynomial::evalDerivOp ( ShiftOpCs shiftOp,
const VectorDouble inv,
VectorDouble outv,
int  iapex,
int  igparam 
) const
void ClassicalPolynomial::evalDerivOpOptim ( ShiftOpCs shiftOp,
VectorDouble temp1,
VectorDouble temp2,
VectorDouble outv,
const VectorVectorDouble  workpoly,
int  iapex,
int  igparam 
) const
void ClassicalPolynomial::evalOp ( const ALinearOpMulti ,
const VectorVectorDouble ,
VectorVectorDouble  
) const
inlineoverridevirtual

Implements APolynomial.

void ClassicalPolynomial::evalOp ( MatrixSparse Op,
const VectorDouble inv,
VectorDouble outv 
) const
overridevirtual

Reimplemented from APolynomial.

void ClassicalPolynomial::evalOpCumul ( MatrixSparse Op,
const VectorDouble inv,
VectorDouble outv 
) const
void ClassicalPolynomial::evalOpTraining ( MatrixSparse Op,
const VectorDouble inv,
VectorVectorDouble store,
VectorDouble work 
) const
overridevirtual

Reimplemented from APolynomial.


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