| NMathFunctionsGather(DoubleVector) Method |
Creates a sparse vector representation for the given dense vector.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleSparseVector Gather(
DoubleVector y
)
Public Shared Function Gather (
y As DoubleVector
) As DoubleSparseVector
public:
static DoubleSparseVector^ Gather(
DoubleVector^ y
)
static member Gather :
y : DoubleVector -> DoubleSparseVector
Parameters
- y DoubleVector
- A dense vector.
Return Value
DoubleSparseVectorA sparse vector representation of
y.
See Also