Click or drag to resize

FloatSparseVectorAddition(FloatVector, FloatSparseVector) Operator

Adds a dense vector to a sparse vector. The result is a dense vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static FloatVector operator +(
	FloatVector y,
	FloatSparseVector x
)

Parameters

y  FloatVector
A dense vector.
x  FloatSparseVector
A sparse vector.

Return Value

FloatVector
A new vector containing the sum x + y.
Remarks
u[i] = x[i] + y[i]
See Also