Search Results for

    Show / Hide Table of Contents

    Interface CanComputeRatio<TDenominator, TResult>

    Supports computing the ratio of the current instance and another value.

    Namespace: Microsoft.ML.Probabilistic.Distributions
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    [Quality(QualityBand.Experimental)]
    public interface CanComputeRatio<in TDenominator, out TResult>
    Type Parameters
    Name Description
    TDenominator

    The type of the denominator.

    TResult

    The type of the ratio.

    Remarks

    Typically the type of the ratio would be the same as the type of the current instance.

    Methods

    Divide(TDenominator, Boolean)

    Computes the product of the current instance and denominator.

    Declaration
    TResult Divide(TDenominator denominator, bool forceProper = false)
    Parameters
    Type Name Description
    TDenominator denominator

    The denominator.

    Boolean forceProper

    If true, the result is modified to have parameters in a safe range

    Returns
    Type Description
    TResult
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.