TYoshimura.MultiPrecision.Integrate
1.5.1
dotnet add package TYoshimura.MultiPrecision.Integrate --version 1.5.1
NuGet\Install-Package TYoshimura.MultiPrecision.Integrate -Version 1.5.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.Integrate" Version="1.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TYoshimura.MultiPrecision.Integrate --version 1.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TYoshimura.MultiPrecision.Integrate, 1.5.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.Integrate as a Cake Addin #addin nuget:?package=TYoshimura.MultiPrecision.Integrate&version=1.5.1 // Install TYoshimura.MultiPrecision.Integrate as a Cake Tool #tool nuget:?package=TYoshimura.MultiPrecision.Integrate&version=1.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MultiPrecisionIntegrate
MultiPrecision Numerical Integration Implements
Requirement
.NET 8.0
AVX2 suppoted CPU. (Intel:Haswell(2013)-, AMD:Excavator(2015)-)
MultiPrecision
Install
Usage
// Gauss-Legendre Integrate 32 Points: sin(t) t=0 to pi
GaussLegendreIntegral<Pow2.N8>.Integrate(
MultiPrecision<Pow2.N8>.Sin,
MultiPrecision<Pow2.N8>.Zero, MultiPrecision<Pow2.N8>.PI,
n: 32
);
// Gauss-Kronrod Adaptive Integrate 7-15: exp(t) t=1 to 4
GaussKronrodIntegral<Pow2.N8>.AdaptiveIntegrate(
MultiPrecision<Pow2.N8>.Exp,
1, 4,
eps: 1e-40,
order: GaussKronrodOrder.G7K15,
maxdepth: 10
);
// Gauss-Kronrod Adaptive Integrate 32-65: exp(-t^2) t=-inf to +inf
GaussKronrodIntegral<Pow2.N8>.AdaptiveIntegrate(
x => MultiPrecision<Pow2.N8>.Exp(-x * x),
MultiPrecision<Pow2.N8>.NegativeInfinity, MultiPrecision<Pow2.N8>.PositiveInfinity,
eps: 1e-40,
order: GaussKronrodOrder.G32K65,
maxdepth: 10
);
// Gauss-Kronrod Adaptive Integrate 32-65: exp(-t^2) t=-inf to +inf
GaussKronrodIntegral<Pow2.N8>.AdaptiveIntegrate(
x => MultiPrecision<Pow2.N8>.Exp(-x * x),
MultiPrecision<Pow2.N8>.NegativeInfinity, MultiPrecision<Pow2.N8>.PositiveInfinity,
eps: 0, // Auto epsilon
order: GaussKronrodOrder.G32K65,
maxdepth: 10
);
Licence
Author
Product | Versions 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.
-
net8.0
- TYoshimura.MultiPrecision (>= 6.5.0)
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.5.1 | 70 | 11/14/2024 |
1.5.0 | 75 | 11/1/2024 |
1.4.7 | 119 | 8/10/2024 |
1.4.6 | 104 | 8/7/2024 |
1.4.5 | 136 | 4/20/2024 |
1.4.4 | 117 | 4/19/2024 |
1.4.3 | 124 | 2/24/2024 |
1.4.2 | 142 | 2/20/2024 |
1.4.1 | 123 | 2/18/2024 |
1.4.0 | 128 | 1/20/2024 |
1.3.0 | 175 | 9/6/2023 |
1.2.0 | 260 | 4/5/2023 |
1.1.0 | 357 | 3/22/2023 |
1.0.0 | 376 | 3/18/2023 |
fix: thread safe