#include <APolynomial.hpp>
|
| APolynomial () |
|
| APolynomial (VectorDouble coeffs) |
|
| APolynomial (const APolynomial &p) |
|
APolynomial & | operator= (const APolynomial &p) |
|
virtual | ~APolynomial () |
|
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| Interface for AStringable. More...
|
|
void | init (VectorDouble coeffs) |
|
virtual double | eval (double x) const =0 |
|
virtual void | evalOp (MatrixSparse *Op, const VectorDouble &inv, VectorDouble &outv) const |
|
virtual void | evalOpTraining (MatrixSparse *Op, const VectorDouble &inv, VectorVectorDouble &outv, VectorDouble &work) const |
|
VectorDouble | evalOp (MatrixSparse *Op, const VectorDouble &inv) const |
|
VectorDouble | getCoeffs () const |
|
void | setCoeffs (const VectorDouble coeffs) |
|
int | getDegree () const |
|
virtual void | evalOp (const ALinearOpMulti *Op, const VectorVectorDouble &inv, VectorVectorDouble &outv) const =0 |
|
virtual int | fit (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::APolynomial |
( |
| ) |
|
APolynomial::~APolynomial |
( |
| ) |
|
|
virtual |
virtual double APolynomial::eval |
( |
double |
x | ) |
const |
|
pure virtual |
virtual int APolynomial::fit |
( |
std::function< double(double)> |
f, |
|
|
double |
from = 0. , |
|
|
double |
to = 1. , |
|
|
double |
tol = EPSILON5 |
|
) |
| |
|
inlinevirtual |
int APolynomial::getDegree |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: