Click or drag to resize
Accord.NET (logo)

Vector4Add Method (Vector4, Single)

Adds a value to all coordinates of the specified vector.

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

Parameters

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

Return Value

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