|
knncolle
Collection of KNN methods in C++
|
Interface for matrix data. More...
#include <Matrix.hpp>

Public Member Functions | |
| virtual Index_ | num_observations () const =0 |
| virtual std::size_t | num_dimensions () const =0 |
| virtual std::unique_ptr< MatrixExtractor< Data_ > > | new_extractor () const =0 |
Interface for matrix data.
This defines the expectations for a matrix of observation-level data to be used in Builder::build_raw().
| Index_ | Integer type of the observation indices. |
| Data_ | Numeric type of the data. |
|
pure virtual |
Implemented in knncolle::SimpleMatrix< Index_, Data_ >.
|
pure virtual |
Implemented in knncolle::SimpleMatrix< Index_, Data_ >.
|
pure virtual |
Implemented in knncolle::SimpleMatrix< Index_, Data_ >.