Search Results for

    Show / Hide Table of Contents

    Class SubarrayOp2<T>

    Provides outgoing messages for Subarray<T>(IReadOnlyList<T>, IReadOnlyList<Int32>), given random arguments to the function.

    Inheritance
    Object
    SubarrayOp2<T>
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic.Factors
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    [FactorMethod(typeof(Collection), "Subarray2<>", new Type[]{})]
    [Quality(QualityBand.Experimental)]
    public static class SubarrayOp2<T>
    Type Parameters
    Name Description
    T

    The type of an array item.

    Methods

    Array2AverageConditional<DistributionType, ArrayType>(IList<DistributionType>, IList<Int32>, ArrayType)

    Declaration
    public static ArrayType Array2AverageConditional<DistributionType, ArrayType>([SkipIfAllUniform] IList<DistributionType> items, IList<int> indices, ArrayType result)
        where DistributionType : SettableTo<DistributionType> where ArrayType : IList<DistributionType>, SettableToUniform
    Parameters
    Type Name Description
    IList<DistributionType> items
    IList<Int32> indices
    ArrayType result
    Returns
    Type Description
    ArrayType
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over an array item.

    ArrayType

    The type of the outgoing message.

    ArrayAverageConditional<DistributionType, ArrayType>(IList<DistributionType>, IList<Int32>, ArrayType)

    Declaration
    public static ArrayType ArrayAverageConditional<DistributionType, ArrayType>([SkipIfAllUniform] IList<DistributionType> items, IList<int> indices, ArrayType result)
        where DistributionType : SettableTo<DistributionType> where ArrayType : IList<DistributionType>, SettableToUniform
    Parameters
    Type Name Description
    IList<DistributionType> items
    IList<Int32> indices
    ArrayType result
    Returns
    Type Description
    ArrayType
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over an array item.

    ArrayType

    The type of the outgoing message.

    ArrayAverageConditional<DistributionType, ArrayType>(IList<T>, IList<Int32>, ArrayType)

    Declaration
    public static ArrayType ArrayAverageConditional<DistributionType, ArrayType>(IList<T> items, IList<int> indices, ArrayType result)
        where DistributionType : HasPoint<T> where ArrayType : IList<DistributionType>, SettableToUniform
    Parameters
    Type Name Description
    IList<T> items
    IList<Int32> indices
    ArrayType result
    Returns
    Type Description
    ArrayType
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over an array item.

    ArrayType

    The type of the outgoing message.

    ItemsAverageConditional<DistributionType, ResultType>(IList<DistributionType>, IList<Int32>, IList<DistributionType>, ResultType)

    Declaration
    public static ResultType ItemsAverageConditional<DistributionType, ResultType>([SkipIfAllUniform] IList<DistributionType> array, IList<int> indices, [SkipIfAllUniform] IList<DistributionType> array2, ResultType result)
        where DistributionType : SettableTo<DistributionType> where ResultType : IList<DistributionType>
    Parameters
    Type Name Description
    IList<DistributionType> array
    IList<Int32> indices
    IList<DistributionType> array2
    ResultType result
    Returns
    Type Description
    ResultType
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over an array item.

    ResultType

    The type of the outgoing message.

    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.