Search Results for

    Show / Hide Table of Contents

    Class ContinuedFraction

    A class for evaluating continued fractions

    Inheritance
    Object
    ContinuedFraction
    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.Math
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    public abstract class ContinuedFraction

    Methods

    Evaluate(Double)

    Evaluates the continued fraction.

    Declaration
    protected double Evaluate(double epsilon)
    Parameters
    Type Name Description
    Double epsilon

    The convergence tolerance.

    Returns
    Type Description
    Double

    The value of the fraction

    GetDenominator(Int32)

    Gets the denominator for the current term.

    Declaration
    public abstract double GetDenominator(int n)
    Parameters
    Type Name Description
    Int32 n

    The iteration - must be greater than 0.

    Returns
    Type Description
    Double

    The denominator for the current term.

    GetNumerator(Int32)

    Gets the numerator for the current term.

    Declaration
    public abstract double GetNumerator(int n)
    Parameters
    Type Name Description
    Int32 n

    The iteration - must be greater than 0.

    Returns
    Type Description
    Double

    The numerator for the current term.

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