|
gstlearn
0.3.3
CCC
|
#include <DriftList.hpp>
Public Member Functions | |
| DriftList (const ASpace *space=nullptr) | |
| DriftList (const DriftList &r) | |
| DriftList & | operator= (const DriftList &r) |
| virtual | ~DriftList () |
| virtual bool | isConsistent (const ASpace *space) const override |
| ICloneable interface. More... | |
| virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
| AStringable Interface. More... | |
| virtual double | eval (const Db *db, int iech) const override |
| ADrift interface */. More... | |
| int | getNVariables () const override |
| int | getDriftNumber () const |
| void | setDriftList (const DriftList *drifts) |
| void | addDrift (const ADriftElem *drift) |
| void | delDrift (unsigned int i) |
| void | delAllDrifts () |
| void | setDriftIRF (int order, int nfex, const CovContext &ctxt) |
| const VectorBool & | getFiltered () const |
| void | setFiltered (const VectorBool &filtered) |
| bool | isFiltered (int i) const |
| void | setFiltered (int i, bool filter) |
| int | getDriftEquationNumber () const |
| bool | isValid () const |
| const ADriftElem * | getDrift (int il) const |
| TODO : to be removed (encapsulation) More... | |
| ADriftElem * | getDrift (int il) |
| const EDrift & | getType (int il) const |
| beurk :( More... | |
| int | getRankFex (int il) const |
| String | getDriftName (int il) const |
| void | setType (int il, const EDrift &type) |
| const VectorDouble & | getCoefDrift () const |
| double | getCoefDrift (int ivar, int il, int ib) const |
| void | setCoefDrift (int ivar, int il, int ib, double value) |
| void | setCoefDriftByRank (int rank, double coeff) |
| 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 | getMaximumOrder (void) const |
| bool | isDriftDefined (const EDrift &type0) const |
| bool | isDriftDifferentDefined (const EDrift &type0) const |
| void | copyCovContext (const CovContext &ctxt) |
| void | setFlagLinked (bool flagLinked) |
Public Member Functions inherited from ADrift | |
| ADrift (const ASpace *space=nullptr) | |
| ADrift (const ADrift &r) | |
| ADrift & | operator= (const ADrift &r) |
| virtual | ~ADrift () |
Public Member Functions inherited from ASpaceObject | |
| ASpaceObject (const ASpace *space=nullptr) | |
| ASpaceObject (const ASpace &space) | |
| ASpaceObject (const ASpaceObject &r) | |
| ASpaceObject & | operator= (const ASpaceObject &r) |
| virtual | ~ASpaceObject () |
| const ASpace * | getSpace () const |
| Accessor to the current object space context. More... | |
| bool | isConsistent () const |
| Indicate if I am consistent with my current space context. More... | |
| VectorDouble | getUnitaryVector () const |
| Return unitary vector for the current space context. More... | |
| unsigned int | getNDim () const |
| Shortcuts to ASpace methods. More... | |
| const VectorDouble & | getOrigin () const |
| Return the current space context origin coordinates. More... | |
| double | getDistance (const SpacePoint &p1, const SpacePoint &p2) const |
| Return the distance between two space points for the current space context. More... | |
| VectorDouble | getIncrement (const SpacePoint &p1, const SpacePoint &p2) const |
| Return the increment vector between two space points for the current space context. More... | |
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 | _coefDrift |
| std::vector< ADriftElem * > | _drifts |
| VectorBool | _filtered |
Protected Attributes inherited from ASpaceObject | |
| const ASpace * | _space |
| Current space context of the object. More... | |
Private Member Functions | |
| bool | _isDriftIndexValid (int i) const |
| bool | _isDriftEquationValid (int ib) const |
| int | _getAddress (int ivar, int il, int ib) const |
| void | _updateCoefDrift () |
Additional Inherited Members | |
Protected Member Functions inherited from ASpaceObject | |
| void | setNDim (int ndim) |
| Modify the Space dimension of an already created item (To be used only during creation ... in particular when reading NF) More... | |
| DriftList::DriftList | ( | const ASpace * | space = nullptr | ) |
| DriftList::DriftList | ( | const DriftList & | r | ) |
|
virtual |
|
inlineprivate |
|
private |
|
private |
|
private |
| void DriftList::addDrift | ( | const ADriftElem * | drift | ) |
| void DriftList::copyCovContext | ( | const CovContext & | ctxt | ) |
| void DriftList::delAllDrifts | ( | ) |
| void DriftList::delDrift | ( | unsigned int | i | ) |
|
overridevirtual |
| VectorDouble DriftList::evalDrifts | ( | const Db * | db, |
| const VectorDouble & | coeffs, | ||
| bool | useSel = false |
||
| ) | const |
|
inline |
|
inline |
| ivar | Rank of the variable (_nVar) |
| il | Rank of the drift function |
| ib | Rank of the drift equation (_driftEquationNumber) |
| double DriftList::getDrift | ( | const Db * | db, |
| int | ib, | ||
| int | iech | ||
| ) | const |
| ADriftElem * DriftList::getDrift | ( | int | il | ) |
| const ADriftElem * 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 |
| int DriftList::getDriftEquationNumber | ( | ) | const |
| String DriftList::getDriftName | ( | int | il | ) | const |
|
inline |
| VectorVectorDouble DriftList::getDrifts | ( | const Db * | db, |
| bool | useSel = true |
||
| ) | const |
|
inline |
| int DriftList::getMaximumOrder | ( | void | ) | const |
|
overridevirtual |
Implements ADrift.
| int DriftList::getRankFex | ( | int | il | ) | const |
| const EDrift & DriftList::getType | ( | int | il | ) | const |
beurk :(
|
overridevirtual |
| bool DriftList::isDriftDefined | ( | const EDrift & | type0 | ) | const |
Check if a given drift type is defined among the drift functions
| type0 | Target drift type (EDrift.hpp) |
| bool DriftList::isDriftDifferentDefined | ( | const EDrift & | type0 | ) | const |
Check if at least one drift function exists whose type is different from the target type
| type0 | Target drift type (EDrift.hpp) |
| bool DriftList::isFiltered | ( | int | i | ) | const |
|
inline |
| bool DriftList::isValid | ( | ) | const |
Check that the set of drift functions is valid
|
inline |
|
inline |
| void DriftList::setDriftIRF | ( | int | order, |
| int | nfex, | ||
| const CovContext & | ctxt | ||
| ) |
| void DriftList::setDriftList | ( | const DriftList * | drifts | ) |
|
inline |
| void DriftList::setFiltered | ( | int | i, |
| bool | filter | ||
| ) |
|
inline |
| void DriftList::setType | ( | int | il, |
| const EDrift & | type | ||
| ) |
|
overridevirtual |
AStringable Interface.
Reimplemented from ASpaceObject.
|
protected |
|
protected |
|
protected |
|
protected |