|
STK++ 1.0
|
A IReduct is an interface base class for dimension reduction techniques. More...
#include <STK_IReduct.h>


Public Member Functions | |
| virtual | ~IReduct () |
| virtual destructor | |
| Integer const & | dim () const |
| get the number of dimension. | |
| Matrix * | p_reduced () const |
| get a pointer on the reduced data set | |
| void | setDimension (Integer const &dim) |
| set the number of dimension. | |
Protected Member Functions | |
| IReduct (Matrix const &data) | |
| Constructor. | |
Protected Attributes | |
| Integer | dim_ |
| dimension of the reduced data set | |
| Matrix * | p_reduced_ |
| The reduced data set. | |
A IReduct is an interface base class for dimension reduction techniques.
The class receive a matrix in input of size (n,p).
The derived class will compute a reduced data set of dimension (n,d).
Definition at line 57 of file STK_IReduct.h.
| STK::IReduct::IReduct | ( | Matrix const & | data | ) | [protected] |
Constructor.
| data | The data set to reduce. |
Definition at line 45 of file STK_IReduct.cpp.
: IRunnerConstRef<Matrix>(data)
, dim_(0)
, p_reduced_(0)
{;}
| STK::IReduct::~IReduct | ( | ) | [virtual] |
virtual destructor
Definition at line 54 of file STK_IReduct.cpp.
References p_reduced_.
{ if (p_reduced_) delete p_reduced_;}
| Integer const& STK::IReduct::dim | ( | ) | const [inline] |
get the number of dimension.
Definition at line 72 of file STK_IReduct.h.
References dim_.
Referenced by setDimension().
{ return dim_;}
| Matrix* STK::IReduct::p_reduced | ( | ) | const [inline] |
get a pointer on the reduced data set
Definition at line 76 of file STK_IReduct.h.
References p_reduced_.
Referenced by STK::IAAModel::reduction().
{ return p_reduced_; }
| void STK::IReduct::setDimension | ( | Integer const & | dim | ) | [inline] |
set the number of dimension.
| dim | the number of dimension to set |
Definition at line 80 of file STK_IReduct.h.
Referenced by STK::IAAModel::reduction().

Integer STK::IReduct::dim_ [protected] |
dimension of the reduced data set
Definition at line 84 of file STK_IReduct.h.
Referenced by STK::LocalVariance::computeAxis(), dim(), STK::ILinearReduct::nbAxis(), and setDimension().
Matrix* STK::IReduct::p_reduced_ [protected] |
The reduced data set.
Definition at line 86 of file STK_IReduct.h.
Referenced by p_reduced(), STK::ILinearReduct::projection(), and ~IReduct().