Class for general weighted vector view.
More...
#include <yat/classifier/DataLookupWeighted1D.h>
Class for general weighted vector view.
- See Also
- MatrixLookupWeighted
const_reference type is const DataWeight
- Since
- New in yat 0.5
value_type is DataWeight
- Since
- New in yat 0.5
theplu::yat::classifier::DataLookupWeighted1D::DataLookupWeighted1D |
( |
const MatrixLookupWeighted & |
m, |
|
|
const size_t |
index, |
|
|
const bool |
row_vector |
|
) |
| |
theplu::yat::classifier::DataLookupWeighted1D::DataLookupWeighted1D |
( |
const DataLookupWeighted1D & |
| ) |
|
theplu::yat::classifier::DataLookupWeighted1D::DataLookupWeighted1D |
( |
const size_t |
size, |
|
|
double |
value = 0 , |
|
|
double |
weight = 1 |
|
) |
| |
Construct DataLookup1D that owns its underlying matrix. Object has size size and all its element is equal to value.
const_iterator theplu::yat::classifier::DataLookupWeighted1D::begin |
( |
| ) |
const |
double theplu::yat::classifier::DataLookupWeighted1D::data |
( |
const size_t |
i | ) |
const |
const_iterator theplu::yat::classifier::DataLookupWeighted1D::end |
( |
| ) |
const |
size_t theplu::yat::classifier::DataLookupWeighted1D::size |
( |
void |
| ) |
const |
- Returns
- number of elements
double theplu::yat::classifier::DataLookupWeighted1D::weight |
( |
const size_t |
i | ) |
const |
The documentation for this class was generated from the following files: