Vector.Elementwise Multiply Into<T> Method
Multiplies a vector element-wise by another vector.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
A vector whose elements are equal to the products of the elements of left and right .
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static Vector<T> ElementwiseMultiplyInto<T>(
Vector<T> left,
Vector<T> right,
Vector<T>? result
)
Parameters
- left Vector<T>
- A vector.
- right Vector<T>
- A vector.
- result Vector<T>
- The vector that is to hold the result. May be null.
Type Parameters
- T
Return Value
Vector<T>A vector whose elements are equal to the products of the elements of left and right .
Exceptions
Argument | left is null. -or- right is null. |
Dimension | The length of left does not equal the length of right. |