Back to FabImage Library website

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

AddMatrices


Header:STD.h
Namespace:fil

Add two matrices of identical dimensions

Syntax

void fil::AddMatrices
(
	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 AddMatrices.