Vector.Divide<T> Method
Divides a vector by a constant.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
A vector whose elements are the corresponding elements of vector divided by factor.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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
Argument | vector is null. |