|
Vector4Subtract Method (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 Subtract(
Vector4 vector,
float value
)
Public Shared Function Subtract (
vector As Vector4,
value As Single
) As Vector4
Request Example
View SourceParameters
- 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:
Vector4Returns new vector with all coordinates decreased by the specified value.
See Also