Click or drag to resize
Accord.NET (logo)

Vector4Subtraction Operator (Vector4, Vector4)

Subtracts corresponding coordinates of two vectors.

Namespace:  Accord.Math
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public static Vector4 operator -(
	Vector4 vector1,
	Vector4 vector2
)
Request Example View Source

Parameters

vector1
Type: Accord.MathVector4
The vector to subtract from.
vector2
Type: Accord.MathVector4
The vector to subtract from the first vector.

Return Value

Type: Vector4
Returns a vector which coordinates are equal to difference of corresponding coordinates of the two specified vectors.
See Also