|
kmeans
k-means clustering in C++
|
Extractor for accessing random observations. More...
#include <Matrix.hpp>
Public Member Functions | |
| virtual const Data_ * | get_observation (Index_ i)=0 |
Extractor for accessing random observations.
This is typically generated by the Matrix::new_extractor() overload that accepts no arguments. It can be assumed that the lifetime of each extractor will not exceed that of its parent Matrix.
| Index_ | Integer type of the observation indices. |
| Data_ | Numeric type of the data. |
|
pure virtual |
| i | Index of the observation. |
Matrix::num_dimensions(), containing the coordinates for observation i.This will only be called within a single thread and may modify internal data members of a RandomAccessExtractor subclass.