File feature_matrix_c_contiguous.hpp

Functions

std::unique_ptr<ICContiguousFeatureMatrix> createCContiguousFeatureMatrix(const float32 *array, uint32 numRows, uint32 numCols)

Creates and returns a new object of the type ICContiguousFeatureMatrix.

Parameters:
  • array – A pointer to a C-contiguous array of type float32 that stores the values, the feature matrix provides access to

  • numRows – The number of rows in the feature matrix

  • numCols – The number of columns in the feature matrix

Returns:

An unique pointer to an object of type ICContiguousFeatureMatrix that has been created

class ICContiguousFeatureMatrix : public IRowWiseFeatureMatrix
#include <feature_matrix_c_contiguous.hpp>

Defines an interface for all feature matrices that provide row-wise access to the feature values of examples that are stored in a C-contiguous array.

Public Functions

inline virtual ~ICContiguousFeatureMatrix() override