Search Results for

    Show / Hide Table of Contents

    Class Clone

    Contains factor methods for cloning.

    Inheritance
    Object
    Clone
    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
    [Quality(QualityBand.Stable)]
    public static class Clone

    Methods

    Copy<T>(T)

    Passes the input through to the output.

    Declaration
    public static T Copy<T>(T value)
    Parameters
    Type Name Description
    T value

    The value to return.

    Returns
    Type Description
    T

    The supplied value.

    Type Parameters
    Name Description
    T

    The type of array element

    DerivedVariable<T>(T, out T)

    An internal factor.

    Declaration
    [ParameterNames(new string[]{"use", "def", "marginal"})]
    public static T DerivedVariable<T>(T def, out T marginal)
    Parameters
    Type Name Description
    T def
    T marginal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    DerivedVariableGibbs<T>(T, out T)

    Declaration
    [ParameterNames(new string[]{"use", "def", "marginal"})]
    public static T DerivedVariableGibbs<T>(T def, out T marginal)
    Parameters
    Type Name Description
    T def
    T marginal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    DerivedVariableInit<T>(T, T, out T)

    Declaration
    [ParameterNames(new string[]{"use", "def", "init", "marginal"})]
    public static T DerivedVariableInit<T>(T def, T init, out T marginal)
    Parameters
    Type Name Description
    T def
    T init
    T marginal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    DerivedVariableInitGibbs<T>(T, T, out T)

    Declaration
    [ParameterNames(new string[]{"use", "def", "init", "marginal"})]
    public static T DerivedVariableInitGibbs<T>(T def, T init, out T marginal)
    Parameters
    Type Name Description
    T def
    T init
    T marginal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    DerivedVariableInitVmp<T>(T, T, out T)

    Declaration
    [ParameterNames(new string[]{"use", "def", "init", "marginal"})]
    public static T DerivedVariableInitVmp<T>(T def, T init, out T marginal)
    Parameters
    Type Name Description
    T def
    T init
    T marginal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    DerivedVariableVmp<T>(T, out T)

    Declaration
    [ParameterNames(new string[]{"use", "def", "marginal"})]
    public static T DerivedVariableVmp<T>(T def, out T marginal)
    Parameters
    Type Name Description
    T def
    T marginal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    Replicate<T>(T, Int32)

    Create an array filled with a single value. For reference types, the replicates all reference the same instance

    Declaration
    [ParameterNames(new string[]{"Uses", "Def", "Count"})]
    public static T[] Replicate<T>(T value, int count)
    Parameters
    Type Name Description
    T value

    The value to fill with.

    Int32 count

    Number of replicates

    Returns
    Type Description
    T[]

    A new array with all entries set to value.

    Type Parameters
    Name Description
    T

    The type of array element

    ReplicateNd<T>(T)

    Create a multidimensional array filled with a single value.

    Declaration
    [ParameterNames(new string[]{"Uses", "Def"})]
    public static Array ReplicateNd<T>(T value)
    Parameters
    Type Name Description
    T value

    The value to fill with.

    Returns
    Type Description
    Array

    A new array with all entries set to value.

    Type Parameters
    Name Description
    T

    The type of array element

    ReplicateWithMarginal<T>(T, Int32, out T)

    Create an array filled with a single value.

    Declaration
    [ParameterNames(new string[]{"Uses", "Def", "count", "Marginal"})]
    public static T[] ReplicateWithMarginal<T>(T Def, int count, out T Marginal)
    Parameters
    Type Name Description
    T Def

    The value to fill with.

    Int32 count
    T Marginal

    Dummy argument for inferring marginals.

    Returns
    Type Description
    T[]

    A new array with all entries set to value.

    Type Parameters
    Name Description
    T

    The type of array element

    ReplicateWithMarginalGibbs<T>(T, Int32, Int32, Int32, out T, out T, out T)

    Declaration
    [ParameterNames(new string[]{"Uses", "Def", "count", "burnIn", "thin", "marginal", "samples", "conditionals"})]
    public static T[] ReplicateWithMarginalGibbs<T>(T Def, int count, int burnIn, int thin, out T marginal, out T samples, out T conditionals)
    Parameters
    Type Name Description
    T Def
    Int32 count
    Int32 burnIn
    Int32 thin
    T marginal
    T samples
    T conditionals
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    UsesEqualDef<T>(T, Int32, out T)

    Create an array filled with a single value.

    Declaration
    [ParameterNames(new string[]{"Uses", "Def", "count", "Marginal"})]
    public static T[] UsesEqualDef<T>(T Def, int count, out T Marginal)
    Parameters
    Type Name Description
    T Def

    The value to fill with.

    Int32 count
    T Marginal

    Dummy argument for inferring marginals.

    Returns
    Type Description
    T[]

    A new array with all entries set to value.

    Type Parameters
    Name Description
    T

    The type of array element

    UsesEqualDefGibbs<T>(T, Int32, Int32, Int32, out T, out T, out T)

    Declaration
    [ParameterNames(new string[]{"Uses", "Def", "count", "burnIn", "thin", "marginal", "samples", "conditionals"})]
    public static T[] UsesEqualDefGibbs<T>(T Def, int count, int burnIn, int thin, out T marginal, out T samples, out T conditionals)
    Parameters
    Type Name Description
    T Def
    Int32 count
    Int32 burnIn
    Int32 thin
    T marginal
    T samples
    T conditionals
    Returns
    Type Description
    T[]
    Type Parameters
    Name Description
    T

    Variable<T>(T, out T)

    An internal factor.

    Declaration
    [ParameterNames(new string[]{"use", "def", "marginal"})]
    public static T Variable<T>(T def, out T marginal)
    Parameters
    Type Name Description
    T def
    T marginal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    VariableGibbs<T>(T, out T)

    Declaration
    [ParameterNames(new string[]{"use", "def", "marginal"})]
    public static T VariableGibbs<T>(T def, out T marginal)
    Parameters
    Type Name Description
    T def
    T marginal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    VariableInit<T>(T, T, out T)

    Declaration
    [ParameterNames(new string[]{"use", "def", "init", "marginal"})]
    public static T VariableInit<T>(T def, T init, out T marginal)
    Parameters
    Type Name Description
    T def
    T init
    T marginal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    VariableMax<T>(T, out T)

    Declaration
    [ParameterNames(new string[]{"use", "def", "marginal"})]
    public static T VariableMax<T>(T def, out T marginal)
    Parameters
    Type Name Description
    T def
    T marginal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    VariablePoint<T>(T, out T)

    Declaration
    [ParameterNames(new string[]{"use", "def", "marginal"})]
    public static T VariablePoint<T>(T def, out T marginal)
    Parameters
    Type Name Description
    T def
    T marginal
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.