chsvlib
chsv helper source code

◆ get_matrix_stats()

matrix_stats Chusov::Math::get_matrix_stats ( const ValueType *  column_matrix,
std::size_t  columns,
std::size_t  rows 
)

Given a column matrix, returns bitmask of flags representing properties of the matrix.

Template Parameters
ValueTypeA type of a matrix element.
Parameters
[in]column_matrixA pointer to an array of columns * rows elements, specifying a set of column vectors composing the matrix.
columnsA number of columns in the matrix column_matrix.
rowsA number of rows in the matrix.
Returns
A bitmask composed of the elements of matrix_stats.