Vector<T>.AddInto Method

Adds a vector and a constant.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
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

ArgumentNullException

vector is null.

See Also