This page contains information about the constructors for the :cppDynamicMatrix
class.
Default copy assignment operator.
Default move assignment operator.
Construct a matrix.
- param m
the values to be copied into the matrix.
- exceptions
this function guarantees not to throw a :cpp
LibsemigroupsException
.- complexity
O(mn) where m is the number of rows and n is the number of columns in the matrix being constructed.
Example
Mat m({{1, 1}, {0, 0}});
Construct a matrix.
- param m
the values to be copied into the matrix.
- exceptions
this function guarantees not to throw a :cpp
LibsemigroupsException
.- complexity
O(mn) where m is the number of rows and n is the number of columns in the matrix being constructed.
Construct a row.
- param c
the values to be copied into the row.
- exceptions
this function guarantees not to throw a :cpp
LibsemigroupsException
.- complexity
O(n) where n is the size of the row being constructed.