Kolbe.LitMath
0.1.1
See the version list below for details.
dotnet add package Kolbe.LitMath --version 0.1.1
NuGet\Install-Package Kolbe.LitMath -Version 0.1.1
<PackageReference Include="Kolbe.LitMath" Version="0.1.1" />
paket add Kolbe.LitMath --version 0.1.1
#r "nuget: Kolbe.LitMath, 0.1.1"
// Install Kolbe.LitMath as a Cake Addin #addin nuget:?package=Kolbe.LitMath&version=0.1.1 // Install Kolbe.LitMath as a Cake Tool #tool nuget:?package=Kolbe.LitMath&version=0.1.1
LitMath
A collection of AVX-256 accelerated mathematical functions for .NET
I rewrote Exp
, Log
, and Sin
using pure AVX intrinsics, so instead of doing one calculation per core, you can now do 4 doubles or 8 floats per core. I added the ERF function and a Normal Distribution CDF as well. Exp, Log and Sin run between 1e-8
and 1e-10
in worst-case accuracy for double precision.
There are examples in the benchmark and tests. But here is one to get you started anyway.
Calculate 4 $e^x$'s at once and store the result in y.
Span<double> x = new Span<double>(new[] { -3.0, 0.0, 5.5, 3.14159 });
Span<double> y = new Span<double>(new[] { 0.0, 0.0, 0.0, 0.0 });
LitExp.E(ref x, ref y);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
-
net6.0
- No dependencies.
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 |
---|---|---|
0.7.0 | 648 | 11/16/2023 |
0.6.4 | 156 | 10/13/2023 |
0.6.3 | 367 | 1/5/2023 |
0.6.2 | 311 | 1/3/2023 |
0.6.1 | 316 | 1/3/2023 |
0.6.0 | 300 | 12/8/2022 |
0.5.8 | 337 | 12/4/2022 |
0.5.7 | 343 | 11/27/2022 |
0.5.6 | 321 | 11/26/2022 |
0.5.5 | 338 | 11/26/2022 |
0.5.4 | 354 | 11/26/2022 |
0.5.3 | 349 | 11/26/2022 |
0.5.2 | 353 | 11/22/2022 |
0.5.1 | 328 | 11/22/2022 |
0.5.0 | 420 | 9/24/2022 |
0.4.1 | 438 | 9/21/2022 |
0.4.0 | 444 | 9/21/2022 |
0.3.8 | 453 | 9/15/2022 |
0.3.7 | 472 | 9/14/2022 |
0.3.6 | 470 | 9/14/2022 |
0.3.5 | 476 | 9/14/2022 |
0.3.4 | 436 | 7/22/2022 |
0.3.3 | 440 | 7/21/2022 |
0.3.2 | 436 | 7/20/2022 |
0.3.1 | 462 | 7/20/2022 |
0.3.0 | 466 | 7/18/2022 |
0.2.1 | 466 | 7/9/2022 |
0.2.0 | 477 | 6/5/2022 |
0.1.2 | 448 | 6/3/2022 |
0.1.1 | 414 | 6/2/2022 |
0.1.0 | 450 | 6/2/2022 |