Class for general weighted vector view.
More...
#include </scratch/bob/jari/tmp/pristine/yat-0.10.x/yat/classifier/DataLookupWeighted1D.h>
List of all members.
Detailed Description
Class for general weighted vector view.
- See also:
- MatrixLookupWeighted
Member Typedef Documentation
const_reference type is const DataWeight
- Since:
- New in yat 0.5
value_type is DataWeight
- Since:
- New in yat 0.5
Constructor & Destructor Documentation
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.
Member Function Documentation
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 |
Friends And Related Function Documentation
The documentation for this class was generated from the following files: