Click or drag to resize

NMathFunctionsGather(DoubleComplexVector, IndexArray) Method

Gathers the specified elements of a dense vector into a compressed sparse vector. The routine references only the elements of y whose indices are listed in the array indices.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleComplexSparseVector Gather(
	DoubleComplexVector y,
	IndexArray indices
)

Parameters

y  DoubleComplexVector
Full storage sparse vector.
indices  IndexArray
Specifies the indices of elements to be gathered.

Return Value

DoubleComplexSparseVector
The vector converted to compressed storage.
See Also