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.
<PackageVersion Include="TYoshimura.MultiPrecision.Integrate" Version="1.5.1" />
<PackageReference Include="TYoshimura.MultiPrecision.Integrate" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#addin nuget:?package=TYoshimura.MultiPrecision.Integrate&version=1.5.1
#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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.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 | 108 | 6 months ago |
1.5.0 | 101 | 6 months ago |
1.4.7 | 138 | 9 months ago |
1.4.6 | 119 | 9 months ago |
1.4.5 | 147 | 4/20/2024 |
1.4.4 | 129 | 4/19/2024 |
1.4.3 | 135 | 2/24/2024 |
1.4.2 | 160 | 2/20/2024 |
1.4.1 | 139 | 2/18/2024 |
1.4.0 | 145 | 1/20/2024 |
1.3.0 | 186 | 9/6/2023 |
1.2.0 | 276 | 4/5/2023 |
1.1.0 | 378 | 3/22/2023 |
1.0.0 | 393 | 3/18/2023 |
fix: thread safe