File feature_matrix_fortran_contiguous.hpp

Functions

std::unique_ptr<IFortranContiguousFeatureMatrix> createFortranContiguousFeatureMatrix(const float32 *array, uint32 numRows, uint32 numCols)

Creates and returns a new object of type IFortranContiguousFeatureMatrix.

Parameters:
  • array – A pointer to a Fortran-contiguous array of type float32 that stores the feature values

  • 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 IFortranContiguousFeatureMatrix that has been created

class IFortranContiguousFeatureMatrix : public IColumnWiseFeatureMatrix
#include <feature_matrix_fortran_contiguous.hpp>

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

Public Functions

inline virtual ~IFortranContiguousFeatureMatrix() override