|
STK++ 0.9.13
|
Interface base class for all basis function. More...
#include <STK_IBasis.h>

Public Types | |
| typedef Data::Type | Type |
Public Member Functions | |
| IBasis () | |
| default constructor | |
| IBasis (Data const *p_data, int dim, bool useDataValues=true) | |
| constructor | |
| IBasis (Data const &data, int dim, bool useDataValues=true) | |
| constructor | |
| IBasis (IBasis const &basis) | |
| copy constructor. | |
| virtual | ~IBasis () |
| destructor | |
| int | dim () const |
| Coefs const & | coefficients () const |
| Type | minValue () const |
| Type | maxValue () const |
| void | setData (Data const &data) |
| Set the data set. | |
| void | setDim (int dim) |
| void | setMinValue (Type const &minValue) |
| void | setMaxValue (Type const &maxValue) |
| bool | initializeStep () |
| Initialize the parameters minValue_ and maxValue_ using data set. | |
Public Member Functions inherited from STK::IRunnerBase | |
| String const & | error () const |
| get the last error message. | |
| virtual bool | run ()=0 |
| run the computations. | |
Protected Member Functions | |
| virtual void | update () |
| update IBasis if a parameter or a new data set is set, update the state of this runner. | |
Protected Member Functions inherited from STK::IRunnerBase | |
| IRunnerBase () | |
| default constructor | |
| IRunnerBase (IRunnerBase const &runner) | |
| copy constructor | |
| virtual | ~IRunnerBase () |
| destructor | |
Protected Attributes | |
| Data const * | p_data_ |
| the input data set | |
| int | dim_ |
| number of dimension to build | |
| bool | useDataValues_ |
| Type | minValue_ |
| Minimal value of the data. | |
| Type | maxValue_ |
| Maximal value of the data. | |
| Coefs | coefficients_ |
| Array2D of the coefficients. | |
Protected Attributes inherited from STK::IRunnerBase | |
| String | msg_error_ |
| String with the last error message. | |
| bool | hasRun_ |
true if run has been used, false otherwise | |
Interface base class for all basis function.
Definition at line 48 of file STK_IBasis.h.
Definition at line 51 of file STK_IBasis.h.
| STK::IBasis< Data, Coefs >::IBasis | ( | ) |
default constructor
Definition at line 125 of file STK_IBasis.h.
constructor
| p_data | pointer on the data set (can be null) |
| dim | dimension of the basis |
| useDataValues | if true use data in order to find the minValue_ and maxValue_, use values set otherwise. |
Definition at line 135 of file STK_IBasis.h.
constructor
| data | reference on the data set |
| dim | dimension of the basis |
| useDataValues | if true use data in order to find the minValue_ and maxValue_, use values set otherwise. |
Definition at line 145 of file STK_IBasis.h.
| STK::IBasis< Data, Coefs >::IBasis | ( | IBasis< Data, Coefs > const & | basis | ) |
copy constructor.
| basis | the basis to copy |
Definition at line 156 of file STK_IBasis.h.
|
inlinevirtual |
|
inline |
Definition at line 79 of file STK_IBasis.h.
References STK::IBasis< Data, Coefs >::coefficients_.
Referenced by STK::BSplineRegression< YArray, XVector, Weights >::coefficients().
Definition at line 77 of file STK_IBasis.h.
References STK::IBasis< Data, Coefs >::dim_.
Referenced by STK::IBasis< Data, Coefs >::setDim().
Initialize the parameters minValue_ and maxValue_ using data set.
Definition at line 181 of file STK_IBasis.h.
References STK::IBasis< Data, Coefs >::initializeStep(), STK::IRunnerBase::msg_error_, and STKERROR_NO_ARG.
Referenced by STK::IBasis< Data, Coefs >::initializeStep().
|
inline |
Definition at line 83 of file STK_IBasis.h.
References STK::IBasis< Data, Coefs >::maxValue_.
Referenced by STK::IBasis< Data, Coefs >::setMaxValue().
|
inline |
Definition at line 81 of file STK_IBasis.h.
References STK::IBasis< Data, Coefs >::minValue_.
Referenced by STK::IBasis< Data, Coefs >::setMinValue().
|
inline |
Set the data set.
| data | the input data values |
Definition at line 89 of file STK_IBasis.h.
References STK::IBasis< Data, Coefs >::p_data_, and STK::IBasis< Data, Coefs >::update().
|
inline |
| dim | number of dimension |
Definition at line 95 of file STK_IBasis.h.
References STK::IBasis< Data, Coefs >::dim(), STK::IBasis< Data, Coefs >::dim_, and STK::IBasis< Data, Coefs >::update().
|
inline |
| maxValue | maximal value of the data |
Definition at line 99 of file STK_IBasis.h.
References STK::IBasis< Data, Coefs >::maxValue(), and STK::IBasis< Data, Coefs >::maxValue_.
|
inline |
| minValue | minimal value of the data |
Definition at line 97 of file STK_IBasis.h.
References STK::IBasis< Data, Coefs >::minValue(), and STK::IBasis< Data, Coefs >::minValue_.
update IBasis if a parameter or a new data set is set, update the state of this runner.
Reimplemented from STK::IRunnerBase.
Definition at line 170 of file STK_IBasis.h.
References STK::IRunnerBase::hasRun_.
Referenced by STK::IBasis< Data, Coefs >::setData(), and STK::IBasis< Data, Coefs >::setDim().
|
protected |
Array2D of the coefficients.
Definition at line 121 of file STK_IBasis.h.
Referenced by STK::IBasis< Data, Coefs >::coefficients().
number of dimension to build
Definition at line 112 of file STK_IBasis.h.
Referenced by STK::IBasis< Data, Coefs >::dim(), and STK::IBasis< Data, Coefs >::setDim().
Maximal value of the data.
Definition at line 118 of file STK_IBasis.h.
Referenced by STK::IBasis< Data, Coefs >::maxValue(), and STK::IBasis< Data, Coefs >::setMaxValue().
Minimal value of the data.
Definition at line 116 of file STK_IBasis.h.
Referenced by STK::IBasis< Data, Coefs >::minValue(), and STK::IBasis< Data, Coefs >::setMinValue().
|
protected |
the input data set
Definition at line 110 of file STK_IBasis.h.
Referenced by STK::IBasis< Data, Coefs >::setData().
|
protected |
Definition at line 114 of file STK_IBasis.h.