Click or drag to resize

FloatComplexSparseVectorAdd(FloatComplexVector, FloatComplexSparseVector) Method

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 FloatComplexVector Add(
	FloatComplexVector y,
	FloatComplexSparseVector x
)

Parameters

y  FloatComplexVector
A dense vector.
x  FloatComplexSparseVector
A sparse vector.

Return Value

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