iRoCS Toolbox  1.1.0
Public Types | Public Member Functions
svt::FVwithMultiClassCoefs< FV > Class Template Reference

#include <FVwithMultiClassCoefs.hh>

Collaboration diagram for svt::FVwithMultiClassCoefs< FV >:

Public Types

typedef FV::const_iterator const_iterator
 
typedef FV::const_reference const_reference
 
typedef FV::iterator iterator
 
typedef FV::reference reference
 
typedef FV::size_type size_type
 

Public Member Functions

const_iterator begin () const
 
iterator begin ()
 
double dotProduct (const svt::FVwithMultiClassCoefs< FV > &fv) const
 
const_iterator end () const
 
iterator end ()
 
int getLabel () const
 
const_reference operator[] (int index) const
 
reference operator[] (int index)
 
FV & origFeatureVector ()
 
const FV & origFeatureVector () const
 
void resize (size_type s)
 
void setLabel (int label)
 
void setSVCoef (unsigned int otherClassLabel, double coef)
 set Coeficients More...
 
size_type size () const
 
double square () const
 
double sVCoef (unsigned int otherClassLabel) const
 
const std::vector< double > & sVCoefs () const
 
std::vector< double > & sVCoefs ()
 
unsigned int sVCoefs_size () const
 

Detailed Description

template<typename FV>
class svt::FVwithMultiClassCoefs< FV >

Definition at line 70 of file FVwithMultiClassCoefs.hh.

Member Typedef Documentation

◆ iterator

template<typename FV>
typedef FV::iterator svt::FVwithMultiClassCoefs< FV >::iterator

Definition at line 129 of file FVwithMultiClassCoefs.hh.

◆ const_iterator

template<typename FV>
typedef FV::const_iterator svt::FVwithMultiClassCoefs< FV >::const_iterator

Definition at line 130 of file FVwithMultiClassCoefs.hh.

◆ reference

template<typename FV>
typedef FV::reference svt::FVwithMultiClassCoefs< FV >::reference

Definition at line 131 of file FVwithMultiClassCoefs.hh.

◆ const_reference

template<typename FV>
typedef FV::const_reference svt::FVwithMultiClassCoefs< FV >::const_reference

Definition at line 132 of file FVwithMultiClassCoefs.hh.

◆ size_type

template<typename FV>
typedef FV::size_type svt::FVwithMultiClassCoefs< FV >::size_type

Definition at line 133 of file FVwithMultiClassCoefs.hh.

Member Function Documentation

◆ setSVCoef()

template<typename FV>
void svt::FVwithMultiClassCoefs< FV >::setSVCoef ( unsigned int  otherClassLabel,
double  coef 
)
inline

set Coeficients

Parameters

Definition at line 85 of file FVwithMultiClassCoefs.hh.

◆ sVCoef()

template<typename FV>
double svt::FVwithMultiClassCoefs< FV >::sVCoef ( unsigned int  otherClassLabel) const
inline

Definition at line 90 of file FVwithMultiClassCoefs.hh.

◆ sVCoefs_size()

template<typename FV>
unsigned int svt::FVwithMultiClassCoefs< FV >::sVCoefs_size ( ) const
inline

Definition at line 95 of file FVwithMultiClassCoefs.hh.

◆ sVCoefs() [1/2]

template<typename FV>
const std::vector<double>& svt::FVwithMultiClassCoefs< FV >::sVCoefs ( ) const
inline

Definition at line 101 of file FVwithMultiClassCoefs.hh.

◆ sVCoefs() [2/2]

template<typename FV>
std::vector<double>& svt::FVwithMultiClassCoefs< FV >::sVCoefs ( )
inline

Definition at line 106 of file FVwithMultiClassCoefs.hh.

◆ getLabel()

template<typename FV>
int svt::FVwithMultiClassCoefs< FV >::getLabel ( ) const
inline

Definition at line 113 of file FVwithMultiClassCoefs.hh.

◆ setLabel()

template<typename FV>
void svt::FVwithMultiClassCoefs< FV >::setLabel ( int  label)
inline

Definition at line 117 of file FVwithMultiClassCoefs.hh.

◆ dotProduct()

template<typename FV>
double svt::FVwithMultiClassCoefs< FV >::dotProduct ( const svt::FVwithMultiClassCoefs< FV > &  fv) const
inline

Definition at line 121 of file FVwithMultiClassCoefs.hh.

◆ square()

template<typename FV>
double svt::FVwithMultiClassCoefs< FV >::square ( ) const
inline

Definition at line 124 of file FVwithMultiClassCoefs.hh.

◆ operator[]() [1/2]

template<typename FV>
const_reference svt::FVwithMultiClassCoefs< FV >::operator[] ( int  index) const
inline

Definition at line 135 of file FVwithMultiClassCoefs.hh.

◆ operator[]() [2/2]

template<typename FV>
reference svt::FVwithMultiClassCoefs< FV >::operator[] ( int  index)
inline

Definition at line 138 of file FVwithMultiClassCoefs.hh.

◆ begin() [1/2]

template<typename FV>
const_iterator svt::FVwithMultiClassCoefs< FV >::begin ( ) const
inline

Definition at line 141 of file FVwithMultiClassCoefs.hh.

◆ begin() [2/2]

template<typename FV>
iterator svt::FVwithMultiClassCoefs< FV >::begin ( )
inline

Definition at line 144 of file FVwithMultiClassCoefs.hh.

◆ end() [1/2]

template<typename FV>
const_iterator svt::FVwithMultiClassCoefs< FV >::end ( ) const
inline

Definition at line 147 of file FVwithMultiClassCoefs.hh.

◆ end() [2/2]

template<typename FV>
iterator svt::FVwithMultiClassCoefs< FV >::end ( )
inline

Definition at line 150 of file FVwithMultiClassCoefs.hh.

◆ size()

template<typename FV>
size_type svt::FVwithMultiClassCoefs< FV >::size ( ) const
inline

Definition at line 153 of file FVwithMultiClassCoefs.hh.

◆ resize()

template<typename FV>
void svt::FVwithMultiClassCoefs< FV >::resize ( size_type  s)
inline

Definition at line 156 of file FVwithMultiClassCoefs.hh.

◆ origFeatureVector() [1/2]

template<typename FV>
FV& svt::FVwithMultiClassCoefs< FV >::origFeatureVector ( )
inline

◆ origFeatureVector() [2/2]

template<typename FV>
const FV& svt::FVwithMultiClassCoefs< FV >::origFeatureVector ( ) const
inline

Definition at line 161 of file FVwithMultiClassCoefs.hh.


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