Skip to content

Working with matrices

Martijn Koopman edited this page Mar 9, 2019 · 10 revisions

Construct a matrix

spatium::Matrix matrix(2, 2);
matrix1(0,0) = 1;
matrix1(0,1) = 2;
matrix1(1,0) = 3;
matrix1(1,1) = 4;

Clone this wiki locally