Click or drag to resize
Accord.NET (logo)

Vector4Subtraction Operator (Vector4, Single)

Subtracts a value from all coordinates of the specified vector.

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

Parameters

vector
Type: Accord.MathVector4
Vector to subtract the specified value from.
value
Type: SystemSingle
Value to subtract from all coordinates of the vector.

Return Value

Type: Vector4
Returns new vector with all coordinates decreased by the specified value.
See Also