| NMathFunctionsGather(DoubleComplexVector, Int32, 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 DoubleComplexSparseVector Gather(
DoubleComplexVector y,
int nnz,
IndexArray indices
)
Public Shared Function Gather (
y As DoubleComplexVector,
nnz As Integer,
indices As IndexArray
) As DoubleComplexSparseVector
public:
static DoubleComplexSparseVector^ Gather(
DoubleComplexVector^ y,
int nnz,
IndexArray^ indices
)
static member Gather :
y : DoubleComplexVector *
nnz : int *
indices : IndexArray -> DoubleComplexSparseVector
Parameters
- y DoubleComplexVector
- Full storage sparse vector.
- nnz Int32
- The number of elements of y to be
gathered.
- indices IndexArray
- Specifies the indices of elements to be
gathered.
Return Value
DoubleComplexSparseVectorThe vector converted to compressed storage.
See Also