Subtracts the product of a Matrix and a Vector from this Vector.

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function Subtract ( _
	matrix As Matrix, _
	vector As Vector _
) As Vector
C#
public Vector Subtract (
	Matrix matrix,
	Vector vector
)
C++
public:
Vector^ Subtract (
	Matrix^ matrix, 
	Vector^ vector
)

Parameters

matrix (Extreme.Mathematics.LinearAlgebra.Matrix)
A Matrix.
vector (Extreme.Mathematics.LinearAlgebra.Vector)
A Vector.

Return Value

A reference to this instance.

Exceptions

ExceptionCondition
ArgumentNullExceptionmatrix is nullNothingnullptr

-or-

vector is nullNothingnullptr

DimensionMismatchException The number of rows of matrix does not equal the length of this instance.

-or-

The number of columns of matrix does not equal the length of vector.