File regression_matrix_c_contiguous.hpp

Functions

std::unique_ptr<ICContiguousRegressionMatrix> createCContiguousRegressionMatrix(const float32 *array, uint32 numRows, uint32 numCols)

Creates and returns a new object of the type ICContiguousRegressionMatrix.

Parameters:
  • array – A pointer to a C-contiguous array of type float32 that stores the regression scores

  • numRows – The number of rows in the regression matrix

  • numCols – The number of columns in the regression matrix

Returns:

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

class ICContiguousRegressionMatrix : public IRowWiseRegressionMatrix
#include <regression_matrix_c_contiguous.hpp>

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

Public Functions

inline virtual ~ICContiguousRegressionMatrix() override