|
SparseT Constructor (Int32, T)
|
Creates a sparse vector from a vector of indices
and a vector of values occuring at those indices.
Namespace:
Accord.Math
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public Sparse(
int[] indices,
T[] values
)
Public Sub New (
indices As Integer(),
values As T()
)
Request Example
View SourceParameters
- indices
- Type: SystemInt32
The indices for non-zero entries. - values
- Type: T
The non-zero values happening at each index.
See Also