#include <APolynomial.hpp>
|
| 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 double | eval (double x) const =0 |
|
virtual void | evalOp (MatrixSparse *Op, const VectorDouble &inv, VectorDouble &outv) const |
|
virtual void | evalOp (MatrixSparse *Op, const constvect inv, vect outv) const =0 |
|
virtual void | evalOpTraining (MatrixSparse *Op, const constvect inv, std::vector< std::vector< double >> &outv, std::vector< double > &work) const |
|
VectorDouble | evalOp (MatrixSparse *Op, const constvect inv) const |
|
virtual void | addEvalOp (ALinearOp *Op, const constvect inv, vect outv) const =0 |
|
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 |
|
◆ APolynomial() [1/3]
APolynomial::APolynomial |
( |
| ) |
|
◆ APolynomial() [2/3]
◆ APolynomial() [3/3]
◆ ~APolynomial()
APolynomial::~APolynomial |
( |
| ) |
|
|
virtual |
◆ addEvalOp()
◆ eval()
virtual double APolynomial::eval |
( |
double |
x | ) |
const |
|
pure virtual |
◆ evalOp() [1/3]
◆ evalOp() [2/3]
◆ evalOp() [3/3]
◆ evalOpTraining()
virtual void APolynomial::evalOpTraining |
( |
MatrixSparse * |
Op, |
|
|
const constvect |
inv, |
|
|
std::vector< std::vector< double >> & |
outv, |
|
|
std::vector< double > & |
work |
|
) |
| const |
|
inlinevirtual |
◆ fit()
virtual int APolynomial::fit |
( |
const std::function< double(double)> & |
f, |
|
|
double |
from = 0. , |
|
|
double |
to = 1. , |
|
|
double |
tol = EPSILON5 |
|
) |
| |
|
inlinevirtual |
◆ getCoeffs()
◆ getDegree()
int APolynomial::getDegree |
( |
| ) |
const |
|
inline |
◆ init()
◆ operator=()
◆ setCoeffs()
◆ toString()
The documentation for this class was generated from the following files: