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.2
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.2
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. |