Main Operations - Shivix/MatLib GitHub Wiki

Determinant

getDeterminant() will return the determinant of any matrix that calls it.

auto determinant = exampleMatrix.getDeterminant();

Row echelon

getRowEchelon() will return a tuple containing the row echelon form matrix and the sign that other operations may need to use such as getting the determinant. Since C++17 is required for the library anyway, stuctured binding should be used to get the variables returned from the function.

auto [rowEchelonFormMatrix, isNegative] = exampleMatrix.getRowEchelon();

Augment

getAugment will return a matrix with the parameter matrix augmented onto it.

auto augmentedMatrix = exampleMatrix.getAugment(exampleMatrix2);