Vector<T>.AddInPlace Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

AddInPlace(T) Adds a constant to a vector.
AddInPlace(Vector<T>) Adds another vector to this vector in-place.

AddInPlace(T)

Adds a constant to a vector.
C#
public virtual Vector<T> AddInPlace(
	T value
)

Parameters

value  T
The value to add.

Return Value

Vector<T>
A reference to this instance.

AddInPlace(Vector<T>)

Adds another vector to this vector in-place.
C#
public Vector<T> AddInPlace(
	Vector<T> vector
)

Parameters

vector  Vector<T>
The vector to add.

Return Value

Vector<T>
A reference to this instance.

Exceptions

ArgumentNullException

vector is null.

DimensionMismatchException

The length of vector does not equal the length of this instance.

See Also