#include <Chebychev.hpp>
|
| | Chebychev () |
| |
| virtual | ~Chebychev () |
| |
| void | evalOp (MatrixSparse *S, const constvect x, vect y) const override |
| | ICloneable interface.
|
| |
| double | eval (double x) const override |
| |
| Id | fit (const std::function< double(double)> &f, double a=0., double b=1., double tol=EPSILON5) override |
| |
| void | init (Id ncMax=10001, Id nDisc=100, double a=0., double b=1., bool verbose=false) |
| |
| void | setCoeffs (const 1 &coeffs) |
| |
| Id | getNcMax () const |
| |
| Id | getNDisc () const |
| |
| double | getA () const |
| |
| double | getB () const |
| |
| bool | getVerbose () const |
| |
| void | setA (double a) |
| |
| void | setB (double b) |
| |
| void | setNcMax (Id ncMax) |
| |
| void | setNDisc (Id nDisc) |
| |
| void | setVerbose (bool verbose) |
| |
| Id | fit2 (AFunction *f, double a=0., double b=1., double tol=EPSILON5) |
| |
| | APolynomial () |
| |
| | APolynomial (const 1 &coeffs) |
| |
| | APolynomial (const APolynomial &m) |
| |
| APolynomial & | operator= (const APolynomial &p) |
| |
| virtual | ~APolynomial () |
| |
| String | toString (const AStringFormat *strfmt=nullptr) const override |
| | Interface for AStringable.
|
| |
| void | init (const 1 &coeffs) |
| |
| | evalOp (MatrixSparse *Op, const constvect inv) const |
| |
| virtual void | evalOpTraining (MatrixSparse *Op, const constvect inv, 1 &outv, 1 &work) const |
| |
| virtual double | evalOpByRank (MatrixSparse *Op, Id rank) const |
| |
| void | addEvalOp (const ALinearOp *Op, const constvect inv, vect outv) const |
| |
| | getCoeffs () const |
| |
| void | setCoeffs (const 1 &coeffs) |
| |
| Id | 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 (Id level) const final |
| |
| | ICloneable () |
| |
| virtual | ~ICloneable () |
| |
| virtual ICloneable * | clone () const =0 |
| |
| std::shared_ptr< ICloneable > | cloneShared () const |
| |
| std::unique_ptr< ICloneable > | cloneUnique () const |
| |
◆ Chebychev()
| gstlrn::Chebychev::Chebychev |
( |
| ) |
|
◆ ~Chebychev()
| gstlrn::Chebychev::~Chebychev |
( |
| ) |
|
|
virtual |
◆ createFromCoeffs()
| Chebychev * gstlrn::Chebychev::createFromCoeffs |
( |
const 1 & |
coeffs | ) |
|
|
static |
◆ eval()
| double gstlrn::Chebychev::eval |
( |
double |
x | ) |
const |
|
overridevirtual |
◆ evalOp()
◆ fit()
| Id gstlrn::Chebychev::fit |
( |
const std::function< double(double)> & |
f, |
|
|
double |
a = 0., |
|
|
double |
b = 1., |
|
|
double |
tol = EPSILON5 |
|
) |
| |
|
overridevirtual |
◆ fit2()
| Id gstlrn::Chebychev::fit2 |
( |
AFunction * |
f, |
|
|
double |
a = 0., |
|
|
double |
b = 1., |
|
|
double |
tol = EPSILON5 |
|
) |
| |
◆ getA()
| double gstlrn::Chebychev::getA |
( |
| ) |
const |
|
inline |
◆ getB()
| double gstlrn::Chebychev::getB |
( |
| ) |
const |
|
inline |
◆ getNcMax()
| Id gstlrn::Chebychev::getNcMax |
( |
| ) |
const |
|
inline |
◆ getNDisc()
| Id gstlrn::Chebychev::getNDisc |
( |
| ) |
const |
|
inline |
◆ getVerbose()
| bool gstlrn::Chebychev::getVerbose |
( |
| ) |
const |
|
inline |
◆ init()
| void gstlrn::Chebychev::init |
( |
Id |
ncMax = 10001, |
|
|
Id |
nDisc = 100, |
|
|
double |
a = 0., |
|
|
double |
b = 1., |
|
|
bool |
verbose = false |
|
) |
| |
◆ setA()
| void gstlrn::Chebychev::setA |
( |
double |
a | ) |
|
|
inline |
◆ setB()
| void gstlrn::Chebychev::setB |
( |
double |
b | ) |
|
|
inline |
◆ setCoeffs()
| void gstlrn::Chebychev::setCoeffs |
( |
const 1 & |
coeffs | ) |
|
|
inline |
◆ setNcMax()
| void gstlrn::Chebychev::setNcMax |
( |
Id |
ncMax | ) |
|
|
inline |
◆ setNDisc()
| void gstlrn::Chebychev::setNDisc |
( |
Id |
nDisc | ) |
|
|
inline |
◆ setVerbose()
| void gstlrn::Chebychev::setVerbose |
( |
bool |
verbose | ) |
|
|
inline |
The documentation for this class was generated from the following files:
- include/Polynomials/Chebychev.hpp
- src/Polynomials/Chebychev.cpp