#include <ClassicalPolynomial.hpp>
|
| ClassicalPolynomial () |
|
| ClassicalPolynomial (const VectorDouble &) |
|
virtual | ~ClassicalPolynomial () |
|
double | eval (double x) const override |
| ICloneable interface. More...
|
|
void | evalOpTraining (MatrixSparse *Op, const constvect inv, std::vector< std::vector< double >> &store, std::vector< double > &work) const override |
|
void | evalOpCumul (MatrixSparse *Op, const constvect inv, vect outv) const |
|
void | evalOp (MatrixSparse *Op, const constvect inv, vect outv) const override |
|
void | addEvalOp (ALinearOp *Op, const constvect inv, vect outv) const override |
|
| APolynomial () |
|
| APolynomial (const VectorDouble &coeffs) |
|
| APolynomial (const APolynomial &m) |
|
APolynomial & | operator= (const APolynomial &p) |
|
virtual | ~APolynomial () |
|
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| Interface for AStringable. More...
|
|
void | init (const VectorDouble &coeffs) |
|
virtual void | evalOp (MatrixSparse *Op, const VectorDouble &inv, VectorDouble &outv) const |
|
VectorDouble | evalOp (MatrixSparse *Op, const constvect inv) const |
|
VectorDouble | getCoeffs () const |
|
void | setCoeffs (const VectorDouble &coeffs) |
|
int | getDegree () const |
|
virtual int | fit (const std::function< double(double)> &f, double from=0., double to=1., double tol=EPSILON5) |
|
| AStringable () |
|
| AStringable (const AStringable &r) |
|
AStringable & | operator= (const AStringable &r) |
|
virtual | ~AStringable () |
|
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
|
virtual void | display (int level) const final |
|
| ICloneable () |
|
virtual | ~ICloneable () |
|
virtual ICloneable * | clone () const =0 |
|
◆ ClassicalPolynomial() [1/2]
ClassicalPolynomial::ClassicalPolynomial |
( |
| ) |
|
◆ ClassicalPolynomial() [2/2]
ClassicalPolynomial::ClassicalPolynomial |
( |
const VectorDouble & |
coeffs | ) |
|
◆ ~ClassicalPolynomial()
ClassicalPolynomial::~ClassicalPolynomial |
( |
| ) |
|
|
virtual |
◆ addEvalOp()
◆ eval()
double ClassicalPolynomial::eval |
( |
double |
x | ) |
const |
|
overridevirtual |
◆ evalOp()
◆ evalOpCumul()
◆ evalOpTraining()
void ClassicalPolynomial::evalOpTraining |
( |
MatrixSparse * |
Op, |
|
|
const constvect |
inv, |
|
|
std::vector< std::vector< double >> & |
store, |
|
|
std::vector< double > & |
work |
|
) |
| const |
|
overridevirtual |
The documentation for this class was generated from the following files: