TYoshimura.CurveFitting 1.8.1

dotnet add package TYoshimura.CurveFitting --version 1.8.1                
NuGet\Install-Package TYoshimura.CurveFitting -Version 1.8.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TYoshimura.CurveFitting" Version="1.8.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TYoshimura.CurveFitting --version 1.8.1                
#r "nuget: TYoshimura.CurveFitting, 1.8.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TYoshimura.CurveFitting as a Cake Addin
#addin nuget:?package=TYoshimura.CurveFitting&version=1.8.1

// Install TYoshimura.CurveFitting as a Cake Tool
#tool nuget:?package=TYoshimura.CurveFitting&version=1.8.1                

CurveFitting

Curvefitting - linear, polynomial, pade, arbitrary function

Requirement

.NET 8.0
Algebra
DoubleDouble

Install

Download DLL
Download nuget

Usage

Vector p1 = new(2, -1, 1, 5), p2 = new(1, 4, 3, -1);
ddouble[] xs = { 1, 3, 4, 7, 8, 9, 13, 15, 20 };
ddouble[] ys1 = Vector.Polynomial(xs, p1), ys2 = Vector.Polynomial(xs, p2);

PolynomialFitter fitter1 = new(xs, ys1, 3);
PolynomialFitter fitter2 = new(xs, ys2, 3, intercept: 1);

Assert.IsTrue((fitter1.Fit() - p1).Norm < 1e-24);
Assert.IsTrue((fitter2.Fit() - p2).Norm < 1e-24);

Licence

MIT

Author

T.Yoshimura

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.8.1 98 11/14/2024
1.8.0 83 10/31/2024
1.7.4 116 9/7/2024
1.7.3 110 9/6/2024
1.7.2 101 8/27/2024
1.7.1 131 4/18/2024
1.7.0 136 4/6/2024
1.6.5 118 3/1/2024
1.6.4 114 2/22/2024
1.6.3 116 2/17/2024
1.6.1 117 1/30/2024
1.6.0 106 1/20/2024
1.5.0 186 9/4/2023
1.4.4 279 3/13/2023
1.4.3 289 2/1/2023
1.4.2 313 1/30/2023
1.4.1 312 1/27/2023
1.4.0 318 1/19/2023
1.3.0 454 9/4/2022
1.2.0 356 1/1/2022
1.1.1 353 11/10/2021

fix: thread safe