Search Results for

    Show / Hide Table of Contents

    Class LinearSpline

    Very simple 1-D linear spline class which implements IFunction. Assumes knots at regular positions - given by a start and increment. The vector of knot values defines how many knots.

    Inheritance
    Object
    LinearSpline
    Implements
    IFunction
    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.Distributions
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    public class LinearSpline : IFunction

    Properties

    KnotIncrem

    Knot position increment

    Declaration
    public double KnotIncrem { get; set; }
    Property Value
    Type Description
    Double

    KnotStart

    Knot start position

    Declaration
    public double KnotStart { get; set; }
    Property Value
    Type Description
    Double

    YPoints

    Y points

    Declaration
    public Vector YPoints { get; set; }
    Property Value
    Type Description
    Vector

    Methods

    Evaluate(Vector)

    Evaluate the linear spline at a given point. Only 1-D input spaces are supported - so only the first element of X is considered

    Declaration
    public double Evaluate(Vector X)
    Parameters
    Type Name Description
    Vector X
    Returns
    Type Description
    Double

    Implements

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