Vector<T>.Add Into Method
Adds a vector and a constant.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A vector whose elements are the sum of the corresponding elements of vector and value.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
public static Vector<T> AddInto(
T value,
Vector<T> vector,
Vector<T>? result
)
Parameters
- value T
- The constant.
- vector Vector<T>
- A vector.
- result Vector<T>
- The vector that is to hold the result. May be null.
Return Value
Vector<T>A vector whose elements are the sum of the corresponding elements of vector and value.
Exceptions
Argument | vector is null. |