Search Results for

    Show / Hide Table of Contents

    Interface IVariableArray

    Interface to a multidimensional array of variables.

    Inherited Members
    IModelExpression.GetExpression()
    IModelExpression.Name
    HasObservedValue.IsObserved
    HasObservedValue.ObservedValue
    Namespace: Microsoft.ML.Probabilistic.Models
    Assembly: Microsoft.ML.Probabilistic.Compiler.dll
    Syntax
    public interface IVariableArray : IVariable, IModelExpression, HasObservedValue

    Properties

    Ranges

    List of ranges associated with the array

    Declaration
    IList<Range> Ranges { get; }
    Property Value
    Type Description
    IList<Range>

    Methods

    ReplaceRanges(Dictionary<Range, Range>, Dictionary<IModelExpression, IModelExpression>, Boolean)

    Create a clone of this array with ranges and size expressions replaced

    Declaration
    IVariableArray ReplaceRanges(Dictionary<Range, Range> rangeReplacements, Dictionary<IModelExpression, IModelExpression> expressionReplacements, bool deepCopy)
    Parameters
    Type Name Description
    Dictionary<Range, Range> rangeReplacements

    Ranges to replace

    Dictionary<IModelExpression, IModelExpression> expressionReplacements

    Size expressions to replace

    Boolean deepCopy

    If true, clones all item prototypes, otherwise they are not cloned

    Returns
    Type Description
    IVariableArray

    A new array

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