Click or drag to resize

MatrixSubtraction Operator (Matrix, Double)

Subtracts the scalar from each element of the matrix and returns the result.

Namespace:  FinMath.LinearAlgebra
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public static Matrix operator -(
	Matrix left,
	double right
)

Parameters

left
Type: FinMath.LinearAlgebraMatrix
The matrix to subtract the scalar from.
right
Type: SystemDouble
The scalar to subtract.

Return Value

Type: Matrix
The result of subtraction.
See Also