Click or drag to resize
Accord.NET (logo)

Sparse Class

Extension methods for sparse vectors.
Inheritance Hierarchy
SystemObject
  Accord.MathSparse

Namespace:  Accord.Math
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static class Sparse
Request Example View Source

The Sparse type exposes the following members.

Methods
  NameDescription
Public methodStatic memberColumnsT
Gets the maximum number of columns (dimensions) that can be inferred from the given sparse vectors.
Public methodStatic memberFromDenseT(T, Boolean)
Creates a sparse vector from a dense array.
Public methodStatic memberFromDenseT(T, Boolean)
Creates sparse vectors from dense arrays.
Public methodStatic memberFromDictionary
Creates a sparse vector from a dictionary mapping indices to values.
Public methodStatic memberParse(String, NullableDouble)
Public methodStatic memberParse(String, NullableDouble)
Public methodStatic memberToDenseT(SparseT)
Converts an array of sparse vectors into a jagged matrix.
Public methodStatic memberToDenseT(SparseT, Int32)
Converts an array of sparse vectors into a jagged matrix.
Top
See Also