Skip to content

Latest commit

 

History

History
133 lines (80 loc) · 3.04 KB

File metadata and controls

133 lines (80 loc) · 3.04 KB

DynamicMatrix

This page contains information about the constructors for the :cppDynamicMatrix class.

Default constructors

Default copy assignment operator.

Default move assignment operator.

Matrix constructors

Construct a matrix.

param m

the values to be copied into the matrix.

exceptions

this function guarantees not to throw a :cppLibsemigroupsException.

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 :cppLibsemigroupsException.

complexity

O(mn) where m is the number of rows and n is the number of columns in the matrix being constructed.

Row constructors

Construct a row.

param c

the values to be copied into the row.

exceptions

this function guarantees not to throw a :cppLibsemigroupsException.

complexity

O(n) where n is the size of the row being constructed.