Class LeastSquaresSolver | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class LeastSquaresSolver

    Inheritance
    System.Object
    LeastSquaresSolver
    Namespace: Unity.UIWidgets.gestures
    Syntax
    public class LeastSquaresSolver

    Constructors

    LeastSquaresSolver(List<Single>, List<Single>, List<Single>)

    Declaration
    public LeastSquaresSolver(List<float> x, List<float> y, List<float> w)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Single> x
    System.Collections.Generic.List<System.Single> y
    System.Collections.Generic.List<System.Single> w

    Fields

    w

    Declaration
    public readonly List<float> w
    Field Value
    Type Description
    System.Collections.Generic.List<System.Single>

    x

    Declaration
    public readonly List<float> x
    Field Value
    Type Description
    System.Collections.Generic.List<System.Single>

    y

    Declaration
    public readonly List<float> y
    Field Value
    Type Description
    System.Collections.Generic.List<System.Single>

    Methods

    solve(Int32)

    Declaration
    public PolynomialFit solve(int degree)
    Parameters
    Type Name Description
    System.Int32 degree
    Returns
    Type Description
    PolynomialFit
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023