Subtracts corresponding coordinates of two vectors.

Namespace:  AForge.Math
Assembly:  AForge.Math (in AForge.Math.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static Vector4 Subtract(
	Vector4 vector1,
	Vector4 vector2
)

Parameters

vector1
Type: AForge.Math..::.Vector4
The vector to subtract from.
vector2
Type: AForge.Math..::.Vector4
The vector to subtract from the first vector.

Return Value

Returns a vector which coordinates are equal to difference of corresponding coordinates of the two specified vectors.

See Also