Click or drag to resize
Accord.NET (logo)

Vector4Divide Method (Vector4, Single)

Divides coordinates of the specified vector by the specified factor.

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

Parameters

vector
Type: Accord.MathVector4
Vector to divide coordinates of.
factor
Type: SystemSingle
Factor to divide coordinates of the specified vector by.

Return Value

Type: Vector4
Returns new vector with all coordinates divided by the specified factor.
See Also