|
gstlearn
1.0.0
CCC
|
#include <DriftList.hpp>
Public Member Functions | |
| DriftList (const CovContext &ctxt=CovContext()) | |
| DriftList (const DriftList &r) | |
| DriftList & | operator= (const DriftList &r) |
| virtual | ~DriftList () |
| virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| ICloneable interface. More... | |
| int | getNVariables () const |
| int | getDriftNumber () const |
| void | addDrift (const ADrift *drift) |
| void | delDrift (unsigned int i) |
| void | delAllDrifts () |
| const VectorBool & | getFiltered () const |
| void | setFiltered (const VectorBool &filtered) |
| bool | isFiltered (int i) const |
| void | setFiltered (int i, bool filter) |
| int | getDriftEquationNumber () const |
| bool | hasExternalDrift () const |
| bool | isValid () const |
| const ADrift * | getDrift (int il) const |
| TODO : to be removed (encapsulation) More... | |
| ADrift * | getDrift (int il) |
| int | getRankFex (int il) const |
| beurk :( More... | |
| String | getDriftName (int il) const |
| const VectorDouble & | getDriftCoef () const |
| double | getDriftCoef (int ivar, int il, int ib) const |
| void | setDriftCoef (int ivar, int il, int ib, double value) |
| void | resetDriftCoeff () |
| VectorDouble | getDriftCoefByPart (int ivar, int ib) const |
| void | setDriftCoefByPart (int ivar, int ib, const VectorDouble &coef) |
| double | getDrift (const Db *db, int ib, int iech) const |
| VectorDouble | getDriftByColumn (const Db *db, int ib, bool useSel=true) const |
| VectorDouble | getDriftBySample (const Db *db, int iech) const |
| VectorVectorDouble | getDrifts (const Db *db, bool useSel=true) const |
| bool | isFlagLinked () const |
| VectorDouble | evalDrifts (const Db *db, const VectorDouble &coeffs, bool useSel=false) const |
| int | getDriftMaxIRFOrder (void) const |
| bool | isDriftDefined (const VectorInt &powers, int rank_fex=0) const |
| bool | isDriftDifferentDefined (const VectorInt &powers, int rank_fex=-1) const |
| void | copyCovContext (const CovContext &ctxt) |
| void | setFlagLinked (bool flagLinked) |
| void | updateDriftList () |
Public Member Functions inherited from AStringable | |
| 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 |
Public Member Functions inherited from ICloneable | |
| ICloneable () | |
| virtual | ~ICloneable () |
| virtual ICloneable * | clone () const =0 |
Protected Attributes | |
| bool | _flagLinked |
| VectorDouble | _driftCoef |
| std::vector< ADrift * > | _drifts |
| VectorBool | _filtered |
| CovContext | _ctxt |
Private Member Functions | |
| bool | _isDriftIndexValid (int i) const |
| bool | _isDriftEquationValid (int ib) const |
| int | _getAddress (int ivar, int il, int ib) const |
| DriftList::DriftList | ( | const CovContext & | ctxt = CovContext() | ) |
| DriftList::DriftList | ( | const DriftList & | r | ) |
|
virtual |
|
inlineprivate |
|
private |
|
private |
| void DriftList::addDrift | ( | const ADrift * | drift | ) |
|
inline |
| void DriftList::delAllDrifts | ( | ) |
| void DriftList::delDrift | ( | unsigned int | i | ) |
| VectorDouble DriftList::evalDrifts | ( | const Db * | db, |
| const VectorDouble & | coeffs, | ||
| bool | useSel = false |
||
| ) | const |
| double DriftList::getDrift | ( | const Db * | db, |
| int | ib, | ||
| int | iech | ||
| ) | const |
| ADrift * DriftList::getDrift | ( | int | il | ) |
| const ADrift * DriftList::getDrift | ( | int | il | ) | const |
TODO : to be removed (encapsulation)
| VectorDouble DriftList::getDriftByColumn | ( | const Db * | db, |
| int | ib, | ||
| bool | useSel = true |
||
| ) | const |
| VectorDouble DriftList::getDriftBySample | ( | const Db * | db, |
| int | iech | ||
| ) | const |
|
inline |
|
inline |
| ivar | Rank of the variable (_nVar) |
| il | Rank of the drift function |
| ib | Rank of the drift equation (_driftEquationNumber) |
| VectorDouble DriftList::getDriftCoefByPart | ( | int | ivar, |
| int | ib | ||
| ) | const |
| int DriftList::getDriftEquationNumber | ( | ) | const |
| int DriftList::getDriftMaxIRFOrder | ( | void | ) | const |
| String DriftList::getDriftName | ( | int | il | ) | const |
|
inline |
| VectorVectorDouble DriftList::getDrifts | ( | const Db * | db, |
| bool | useSel = true |
||
| ) | const |
|
inline |
|
inline |
| int DriftList::getRankFex | ( | int | il | ) | const |
beurk :(
| bool DriftList::hasExternalDrift | ( | ) | const |
| bool DriftList::isDriftDefined | ( | const VectorInt & | powers, |
| int | rank_fex = 0 |
||
| ) | const |
Check if a given drift type is defined among the drift functions
| powers | Vector of exponents for monomials |
| rank_fex | Rank of the variable for external dift |
| bool DriftList::isDriftDifferentDefined | ( | const VectorInt & | powers, |
| int | rank_fex = -1 |
||
| ) | const |
Check if at least one drift function exists whose type is different from the target type
| powers | Vector of exponent for monomials of a polynomial drift |
| rank_fex | Rank of the variable for external Drift |
| bool DriftList::isFiltered | ( | int | i | ) | const |
|
inline |
| bool DriftList::isValid | ( | ) | const |
Check that the set of drift functions is valid
|
inline |
|
inline |
| void DriftList::setDriftCoefByPart | ( | int | ivar, |
| int | ib, | ||
| const VectorDouble & | coef | ||
| ) |
|
inline |
| void DriftList::setFiltered | ( | int | i, |
| bool | filter | ||
| ) |
|
inline |
|
overridevirtual |
| void DriftList::updateDriftList | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |