Click or drag to resize
Sparsity Class
Microsoft Research
Defines sparsity settings for vectors. The sparsity handling has been designed to deal with large dimensional distributions such as Discrete and Dirichlet distributions.
Inheritance Hierarchy
SystemObject
  MicrosoftResearch.Infer.MathsSparsity

Namespace: MicrosoftResearch.Infer.Maths
Assembly: Infer.Runtime (in Infer.Runtime.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
[SerializableAttribute]
public class Sparsity : IXmlSerializable

The Sparsity type exposes the following members.

Methods
Operators
  NameDescription
Public operatorStatic memberEquality
Equality operator.
Public operatorStatic memberInequality
Inequality operator.
Top
Properties
  NameDescription
Public propertyCountTolerance
The maximum allowed count of vector elements not set to the common value.
Public propertyStatic memberDense
Static read-only property giving Sparsity settings for dense vectors.
Public propertyIsApproximate
True if the sparsity is approximate
Public propertyIsDense
True if is the vector is dense
Public propertyIsExact
True if the sparsity is exact
Public propertyIsPiecewise
True if is the vector is piecewise
Public propertyIsSparse
True if the vector is sparse (exact or approximate)
Public propertyStatic memberPiecewise
Static read-only property giving Sparsity settings for piecewise, exact vectors.
Public propertyStatic memberSparse
Static read-only property giving Sparsity settings for sparse, exact vectors.
Public propertyStorage
The storage method used by this vector
Public propertyTolerance
The tolerance at which vector element values are considered equal to the common value.
Top
Explicit Interface Implementations
See Also