Show / Hide Table of Contents

    Namespace Microsoft.ML.Probabilistic.Collections

    Classes

    ApproximateSparseList<T>

    Approximate Sparse List.

    Array<T>

    A one-dimensional array with value equality.

    Array2D<T>

    A two-dimensional array with value equality.

    ArrayAsList<T>

    Wraps a multidimensional array to look like a linear list.

    ArrayBase<T>

    The base class for arrays of any rank using value equality.

    ArrayDictionary<T>

    Represents a dictionary with non-negative integers as keys.

    ArrayFromFunc<T>

    A virtual read-only 1D array whose elements are provided by a function.

    ArrayFromFunc2D<T>

    A virtual read-only 2D array whose elements are provided by a function.

    ArrayHelper

    Helpful methods used by generated code.

    Collection

    Extension methods for ICollection

    CursorArray<CursorType>

    A multidimensional array of objects which share a single storage block.

    DictionaryComparer<TKey, TValue>

    An equality comparer that requires the sequence of keys and values to match

    EnumerableComparer<T>

    An equality comparer for IEnumerable that requires elements at the same position to match

    EnumerableExtensions

    Extension methods for IEnumerable

    FileArray<T>

    An IArray where each element is stored as a disk file.

    FuncExtensions

    Provides extension methods for Func that support collection and sparse collections

    IEnumerableExensions

    Provides extension methods for IEnumerable that support sparse collections.

    IListExtensions

    Provides extension methods for IList that support sparse lists.

    IndexedSet<T>

    A bidirectional mapping of unique elements to non-negative indexes.

    JaggedArray

    Class that provides useful static methods for jagged arrays

    KeyedPool<TKey, TItem>

    A pool of items that can be registered against a given key.

    ListComparer<T>

    An equality comparer for IList that requires elements at the same index to match

    Option

    Helper static class with constructor methods for Option<T>.

    Pair

    Represents a pair of elements.

    ParallelCursorArray<CursorType, ArrayType>

    A multidimensional array of objects where each field is in a CursorArray.

    PriorityQueue<T>

    A collection that provides efficient extraction of the minimum element.

    ReadOnlyList<T>

    A faster alternative to ReadOnlyCollection<T> which allows calls to the underlying list to be inlined.

    ReadOnlyWrapper<T>

    Set<T>

    A collection of unique items.

    SortedSet<T>

    A sorted collection of unique items.

    SparseList<T>

    A list which is optimised for the case where most of its elements share a common value.

    Structs

    Option.NoneType

    Helper class to represent "any absent value" which can be converted into any Option<T>.

    Option<T>

    Represents a value type that can be absent

    Pair<T1, T2>

    Represent a pair of elements. Should be used instead of Tuple<T1,T2> when a value type is preferred, e.g. for performance reasons.

    ReadOnlyArray<T>

    Represents a read only array.

    ReadOnlyArraySegment<T>

    A version if ArraySegment<T> which can not be mutated.

    ReadOnlyArraySegmentEnumerator<T>

    Enumerator for read only arrays and read only array segments.

    Set<T>.EmptyStruct

    SortedSet<T>.EmptyStruct

    ValueAtIndex<T>

    Stores a value and its index in the collection.

    Interfaces

    ConvertibleToArray

    Indicates if the object can convert to and from an array.

    IArray<T>

    Interface to an array of arbitrary rank.

    IArray2D<T>

    Interface to a two-dimensional array.

    IArrayFactory<ItemType, ArrayType>

    Interface to an object providing a constructor for new arrays.

    ICursor

    ICursorArray

    ICursorArray<T>

    ISparseEnumerable<T>

    Sparsely enumerable

    ISparseEnumerator<T>

    Contract for sparse enumeration

    ISparseList<T>

    Exposes sparse lists. Inherits from IList<T>

    Delegates

    JaggedArray.ElementAction

    Delegate for jagged array element visitor

    JaggedArray.ElementAction2

    Delegate for generic jagged array element visitor

    JaggedArray.ElementConverter

    Delegate for jagged array element converter

    JaggedArray.ElementConverter<SourceLeafType, TargetLeafType>

    Delegate for jagged array element converter

    JaggedArray.ElementConverter2

    Delegate for jagged array element converter

    Predicate<T1, T2>

    Delegate for two argument predicate

    Predicate<T1, T2, T3>

    Delegate for three argument predicate

    Back to top Copyright © .NET Foundation. All rights reserved.