Vector<T>.AddInPlace Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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

ArgumentNullExceptionvector is null
DimensionMismatchException The length of vector does not equal the length of this instance.

See Also