Click or drag to resize
Accord.NET (logo)

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>
Request Example View Source

Parameters

dense
Type: T
removeZeros (Optional)
Type: SystemBoolean

Type Parameters

T

Return Value

Type: SparseT
See Also