![]() |
1.6.0
Geostatistics & Machine Learning toolbox | https://gstlearn.org
|
![]() |
TODO : Dependency to csparse to be removed. More...
#include <Chebychev.hpp>
TODO : Dependency to csparse to be removed.
Public Member Functions | |
Chebychev () | |
virtual | ~Chebychev () |
void | evalOp (MatrixSparse *S, const constvect x, vect y) const override |
ICloneable interface. | |
double | eval (double x) const override |
int | fit (const std::function< double(double)> &f, double a=0., double b=1., double tol=EPSILON5) override |
void | init (int ncMax=10001, int nDisc=100, double a=0., double b=1., bool verbose=false) |
void | setCoeffs (const VectorDouble &coeffs) |
int | getNcMax () const |
int | getNDisc () const |
double | getA () const |
double | getB () const |
bool | getVerbose () const |
void | setA (double a) |
void | setB (double b) |
void | setNcMax (int ncMax) |
void | setNDisc (int nDisc) |
void | setVerbose (bool verbose) |
int | fit2 (AFunction *f, double a=0., double b=1., double tol=EPSILON5) |
![]() | |
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. | |
void | init (const VectorDouble &coeffs) |
virtual void | evalOp (MatrixSparse *Op, const VectorDouble &inv, VectorDouble &outv) const |
VectorDouble | evalOp (MatrixSparse *Op, const constvect inv) const |
virtual void | evalOpTraining (MatrixSparse *Op, const constvect inv, std::vector< std::vector< double > > &outv, std::vector< double > &work) const |
virtual double | evalOpByRank (MatrixSparse *Op, int rank) const |
void | addEvalOp (ALinearOp *Op, const constvect inv, vect outv) const |
VectorDouble | getCoeffs () const |
void | setCoeffs (const VectorDouble &coeffs) |
int | getDegree () const |
![]() | |
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 |
Static Public Member Functions | |
static Chebychev * | createFromCoeffs (const VectorDouble &coeffs) |
Chebychev::Chebychev | ( | ) |
|
virtual |
|
static |
|
overridevirtual |
Implements APolynomial.
|
overridevirtual |
|
overridevirtual |
Reimplemented from APolynomial.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Chebychev::init | ( | int | ncMax = 10001 , |
int | nDisc = 100 , |
||
double | a = 0. , |
||
double | b = 1. , |
||
bool | verbose = false |
||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |