DenseVector<T>.AddCore Method

Definition

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

Overload List

AddCore(T, Vector<T>) Adds a constant to a vector in-place.
AddCore(Vector<T>, Vector<T>) Adds two vectors.

DenseVector<T>.AddCore(T, Vector<T>)

Adds a constant to a vector in-place.
C#
protected override Vector<T> AddCore(
	T value,
	Vector<T> result
)

Parameters

value  T
The constant.
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 this vector and value.

See Also