TYoshimura.MultiPrecision.ComplexFitting 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package TYoshimura.MultiPrecision.ComplexFitting --version 1.0.1                
NuGet\Install-Package TYoshimura.MultiPrecision.ComplexFitting -Version 1.0.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.MultiPrecision.ComplexFitting" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TYoshimura.MultiPrecision.ComplexFitting --version 1.0.1                
#r "nuget: TYoshimura.MultiPrecision.ComplexFitting, 1.0.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.MultiPrecision.ComplexFitting as a Cake Addin
#addin nuget:?package=TYoshimura.MultiPrecision.ComplexFitting&version=1.0.1

// Install TYoshimura.MultiPrecision.ComplexFitting as a Cake Tool
#tool nuget:?package=TYoshimura.MultiPrecision.ComplexFitting&version=1.0.1                

MultiPrecisionComplexFitting

MultiPrecision Complex Fitting Implements

Requirement

.NET 8.0
AVX2 suppoted CPU. (Intel:Haswell(2013)-, AMD:Excavator(2015)-)
MultiPrecision
MultiPrecisionComplex
MultiPrecisionAlgebra
MultiPrecisionComplexAlgebra

Install

Download DLL
Download Nuget

Usage

Complex<Pow2.N8>[] xs = ComplexMatrix<Pow2.N8>.Flatten(ComplexMatrix<Pow2.N8>.Grid((-7, 9), (-6, 10)) / 16);
Complex<Pow2.N8>[] ys = ComplexVector<Pow2.N8>.Func(x => Complex<Pow2.N8>.Cos(x * (0.5, 0.25)) - 0.25 + Complex<Pow2.N8>.ImaginaryOne, xs);

ComplexPadeFitter<Pow2.N8> fitter = new(xs, ys, numer: 8, denom: 6);

ComplexVector<Pow2.N8> parameters = fitter.Fit();

Console.WriteLine($"Numer : {parameters[..fitter.Numer]}");
Console.WriteLine($"Denom : {parameters[fitter.Numer..]}");

ComplexVector<Pow2.N8> vs = fitter.Regress(xs, parameters);

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.1.1 74 11/14/2024
1.1.0 84 11/1/2024
1.0.3 101 9/8/2024
1.0.2 103 9/7/2024
1.0.1 109 9/7/2024
1.0.0 105 9/6/2024

initial commit