| NMathFunctionsGather(FloatComplexVector, 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatComplexSparseVector Gather(
FloatComplexVector y,
IndexArray indices
)
Public Shared Function Gather (
y As FloatComplexVector,
indices As IndexArray
) As FloatComplexSparseVector
public:
static FloatComplexSparseVector^ Gather(
FloatComplexVector^ y,
IndexArray^ indices
)
static member Gather :
y : FloatComplexVector *
indices : IndexArray -> FloatComplexSparseVector
Parameters
- y FloatComplexVector
- Full storage sparse vector.
- indices IndexArray
- Specifies the indices of elements to be
gathered.
Return Value
FloatComplexSparseVectorThe vector converted to compressed storage.
See Also