Loading [MathJax]/extensions/tex2jax.js
Back to FabImage Library website

You are here: Start » Function Reference » Matrix » InvertMatrix

InvertMatrix


Header:STD.h
Namespace:fil

Find the inverse of a square matrix.

Syntax

void fil::InvertMatrix
(
	const fil::Matrix& inMatrix,
	fil::Matrix& outInverseMatrix
)

Parameters

Name Type Default Description
inMatrix const Matrix&
outInverseMatrix Matrix&

Errors

List of possible exceptions:

Error type Description
DomainError Empty matrix in MatrixInverse
DomainError Non-square matrix in MatrixInverse