|
STK++ 0.9.13
|
SinesCoefficients class allows to compute the coefficients of a sampled function using sines basis functions. More...
#include <STK_SinesCoefficients.h>

Public Types | |
| typedef IBasis< Data, Coefs > | Base |
| typedef Data::Type | Type |
Public Types inherited from STK::IBasis< Data, Coefs > | |
| typedef Data::Type | Type |
Public Member Functions | |
| SinesCoefficients (Data const *p_data=0, int dim=1, bool useDataValues=true) | |
| default constructor | |
| SinesCoefficients (Data const &data, int dim, bool useDataValues=true) | |
| constructor | |
| SinesCoefficients (SinesCoefficients const &coefs) | |
| copy constructor. | |
| virtual | ~SinesCoefficients () |
| Destructor. | |
| SinesCoefficients * | clone () const |
| clone pattern implementation | |
| virtual bool | run () |
| run the computations. | |
Public Member Functions inherited from STK::IBasis< Data, Coefs > | |
| 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. | |
Public Attributes | |
| Data const * | p_data_ |
| the input data set | |
| Coefs | coefficients_ |
| Array2D of the coefficients. | |
| int | dim_ |
| number of dimension to build | |
| Type | minValue_ |
| Minimal value of the data. | |
| Type | maxValue_ |
| Maximal value of the data. | |
Additional Inherited Members | |
Protected Member Functions inherited from STK::IBasis< Data, Coefs > | |
| 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 inherited from STK::IBasis< Data, Coefs > | |
| 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 | |
SinesCoefficients class allows to compute the coefficients of a sampled function using sines basis functions.
Definition at line 47 of file STK_SinesCoefficients.h.
| typedef IBasis<Data, Coefs> STK::SinesCoefficients< Data, Coefs >::Base |
Definition at line 50 of file STK_SinesCoefficients.h.
| typedef Data::Type STK::SinesCoefficients< Data, Coefs >::Type |
Definition at line 51 of file STK_SinesCoefficients.h.
|
inline |
default constructor
| p_data | pointer on the data set |
| dim | number of basis to use |
| useDataValues | if true use data in order to find the minValue_ and maxValue_, use values set otherwise. |
Definition at line 67 of file STK_SinesCoefficients.h.
|
inline |
constructor
| data | reference on the data set |
| dim | number of basis to use |
| useDataValues | if true use data in order to find the minValue_ and maxValue_, use values set otherwise. |
Definition at line 75 of file STK_SinesCoefficients.h.
|
inline |
copy constructor.
| coefs | the coefficients to copy |
Definition at line 80 of file STK_SinesCoefficients.h.
|
inlinevirtual |
|
inline |
clone pattern implementation
Definition at line 84 of file STK_SinesCoefficients.h.
run the computations.
Implements STK::IRunnerBase.
Definition at line 91 of file STK_SinesCoefficients.h.
References STK::IRunnerBase::hasRun_, STK::IRegression< Array, Array, Weight >::initializeStep(), STK::IRunnerBase::msg_error_, STK::SinesCoefficients< Data, Coefs >::run(), and STKERROR_NO_ARG.
Referenced by STK::ChebyshevCoefficients< Data, Coefs >::run(), and STK::SinesCoefficients< Data, Coefs >::run().
Array2D of the coefficients.
Definition at line 121 of file STK_IBasis.h.
number of dimension to build
Definition at line 112 of file STK_IBasis.h.
Maximal value of the data.
Definition at line 118 of file STK_IBasis.h.
Minimal value of the data.
Definition at line 116 of file STK_IBasis.h.
the input data set
Definition at line 110 of file STK_IBasis.h.