Vector.Divide<T> Method

Divides a vector by a constant.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static Vector<T> Divide<T>(
	Vector<T> vector,
	T factor
)

Parameters

vector  Vector<T>
A vector.
factor  T
A number.

Type Parameters

T

Return Value

Vector<T>
A vector whose elements are the corresponding elements of vector divided by factor.

Exceptions

ArgumentNullException

vector is null.

See Also