Click or drag to resize
DigitalRuneMatrixFAdd Method
Adds two matrices.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static MatrixF Add(
	MatrixF matrix1,
	MatrixF matrix2
)

Parameters

matrix1
Type: DigitalRune.Mathematics.AlgebraMatrixF
The first matrix.
matrix2
Type: DigitalRune.Mathematics.AlgebraMatrixF
The second Matrix.

Return Value

Type: MatrixF
The sum of the two matrices.
Exceptions
ExceptionCondition
ArgumentNullExceptionmatrix1 or matrix2 is .
ArgumentException The numbers of rows or columns of the matrices do not match.
See Also