Feature Selection ToolboxFST3 Library / Documentation

FST::Indexed_Vector< DATATYPE, DIMTYPE, SUBSET > Class Template Reference

Vector representation and operations, allows operation in selected subspace. More...

#include <indexed_vector.hpp>

List of all members.

Public Types

typedef boost::shared_ptr< SUBSET > PSubset
 < helper structure for passing matrix op intermediate data between higher-level matrix objects and functions

Public Member Functions

 Indexed_Vector (const DIMTYPE n)
 Indexed_Vector (const Indexed_Vector &iv)
Indexed_Vectoroperator= (Indexed_Vector const &iv)
void reset (const DIMTYPE n_max)
void redim (const DIMTYPE n=0)
DATATYPE & operator[] (const DIMTYPE i)
DATATYPE & at_raw (const DIMTYPE i)
DATATYPE & at (const DIMTYPE i)
DATATYPE * get_raw ()
void narrow_to (const PSubset sub)
void denarrow ()
DIMTYPE get_n () const
DIMTYPE get_d () const
void set_all_raw_to (const DATATYPE val)
void subtract_raw (const Indexed_Vector &vr)
void copy_raw (const Indexed_Vector &vr)

Protected Attributes

DIMTYPE _n_max
DIMTYPE _n
boost::scoped_array< DATATYPE > _data
DIMTYPE _d
boost::scoped_array< DIMTYPE > _index

Friends

class Indexed_Matrix< DATATYPE, DIMTYPE, SUBSET >
std::ostream & operator<< (std::ostream &os, const Indexed_Vector &tdb)

Detailed Description

template<typename DATATYPE, typename DIMTYPE, class SUBSET>
class FST::Indexed_Vector< DATATYPE, DIMTYPE, SUBSET >

Vector representation and operations, allows operation in selected subspace.


The documentation for this class was generated from the following file:

Generated on Thu Mar 31 11:38:36 2011 for FST3Library by  doxygen 1.6.1