|
SparseFromDenseT Method (T, Boolean)
|
Creates sparse vectors from dense arrays.
Namespace:
Accord.Math
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public static Sparse<T>[] FromDense<T>(
T[][] dense,
bool removeZeros = true
)
where T : Object, IEquatable<T>
Public Shared Function FromDense(Of T As {Object, IEquatable(Of T)}) (
dense As T()(),
Optional removeZeros As Boolean = true
) As Sparse(Of T)()
Request Example
View SourceParameters
- dense
- Type: T
- removeZeros (Optional)
- Type: SystemBoolean
Type Parameters
- T
Return Value
Type:
SparseTSee Also