Vector<T>.AddInto Method

Adds a vector and a constant.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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

ArgumentNullExceptionvector is null

See Also