|
knncolle
Collection of KNN methods in C++
|
Extractor for a SimpleMatrix.
More...
#include <Matrix.hpp>


Public Member Functions | |
| const Data_ * | next () |
Public Member Functions inherited from knncolle::MatrixExtractor< Data_ > | |
Extractor for a SimpleMatrix.
This should be typically constructed by calling SimpleMatrix::new_extractor().
| Data_ | Numeric type of the data. |
|
inlinevirtual |
Matrix::num_dimensions(), containing the coordinates for the next observation.For a newly created MatrixExtractor, the first call to next() should return the coordinates of the first observation in the matrix; the next call should return the coordinates of the second observation; and so on, for up to Matrix::num_observations() calls, after which the MatrixExtractor should no longer be used.
Implements knncolle::MatrixExtractor< Data_ >.