File matrix_c_contiguous.hpp

template<typename T>
class CContiguousMatrix : public IterableDenseMatrixDecorator<AllocatedCContiguousView<T>>
#include <matrix_c_contiguous.hpp>

A two-dimensional dense matrix that provides row-wise read and write access via iterators to the values stores in a newly allocated C-contiguous matrix.

Template Parameters:

T – The type of the data that is stored in the matrix

Public Functions

inline CContiguousMatrix(uint32 numRows, uint32 numCols, bool init = false)
Parameters:
  • numRows – The number of rows in the matrix

  • numCols – The number of columns in the matrix

  • init – True, if all elements in the matrix should be value-initialized, false otherwise