Class LogisticRegressorQualityEstimator::Matrix¶
Defined in File quality_estimator.h
Nested Relationships¶
This class is a nested type of Class LogisticRegressorQualityEstimator.
Class Documentation¶
-
class
Matrix Matrix is an internal data structure that was created only to be used in LogisticRegressorQualityEstimator methods.
It intends to represent a matrix, so it receives row and column values as a constructor. Furthermore, the method
atcan access specific data given a row and col position.Public Functions
-
Matrix(const size_t rowsParam, const size_t colsParam)
-
Matrix(Matrix &&other) Move constructor.
-
const float &
at(const size_t row, const size_t col) const Return data value given a row and col position.
- Parameters
[in] row: row position[in] col: col position
-
float &
at(const size_t row, const size_t col)
Public Members
-
const size_t
rows Number of rows.
-
const size_t
cols Number of columns.
-