Back to FabImage Library website

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

SubtractMatrices


Header:STD.h
Namespace:fil

Subtract two matrices of identical dimensions

Syntax

void fil::SubtractMatrices
(
	const fil::Matrix& inMatrix1,
	const fil::Matrix& inMatrix2,
	fil::Matrix& outMatrix
)

Parameters

Name Type Default Description
inMatrix1 const Matrix&
inMatrix2 const Matrix&
outMatrix Matrix&

Errors

List of possible exceptions:

Error type Description
DomainError Matrix dimensions do not match in SubtractMatrices.