Vector.Elementwise Divide Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Elementwise | Divides a vector element-wise by another vector. |
Elementwise | Divides a scalar by each element of a vector. |
ElementwiseDivide<T>(Vector<T>, Vector<T>)
Divides a vector element-wise by another vector.
public static Vector<T> ElementwiseDivide<T>(
Vector<T> left,
Vector<T> right
)
Parameters
Type Parameters
- T
Return Value
Vector<T>A new vector whose elements are equal to the quotient of the elements of left divided right .
Exceptions
Argument | left is null. -or- right is null. |
Dimension | The length of left does not equal the length of right. |
ElementwiseDivide<T>(T, Vector<T>)
Divides a scalar by each element of a vector.
public static Vector<T> ElementwiseDivide<T>(
T left,
Vector<T> right
)
Parameters
- left T
- A scalar.
- right Vector<T>
- A vector.
Type Parameters
- T
Return Value
Vector<T>A new vector whose elements are equal to the quotient of the elements of left divided right .
Exceptions
Argument | right is null. |
Dimension | The length of left does not equal the length of right. |