Tavenem.Mathematics 2.1.2

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 7.0
dotnet add package Tavenem.Mathematics --version 2.1.2
NuGet\Install-Package Tavenem.Mathematics -Version 2.1.2
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="Tavenem.Mathematics" Version="2.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Tavenem.Mathematics --version 2.1.2
#r "nuget: Tavenem.Mathematics, 2.1.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Tavenem.Mathematics as a Cake Addin
#addin nuget:?package=Tavenem.Mathematics&version=2.1.2

// Install Tavenem.Mathematics as a Cake Tool
#tool nuget:?package=Tavenem.Mathematics&version=2.1.2

build NuGet downloads

Tavenem.Mathematics

Tavenem.Mathematics is a collection of math utilities. It includes:

  • An assortment of mathematic and scientific constants, as double and decimal values (available in the DecimalConstants and DoubleConstants static classes)

  • Versions of some types from the System.Numerics namespace, modified to use generic math interfaces as the base value type, for cases when greater precision than the float of the native System.Numerics types is required.

    Includes:

    • Matrix3x2
    • Matrix4x4
    • Plane
    • Quaternion
    • Vector2
    • Vector3
    • Vector4

    Note that these types are not SIMD-enabled and will not benefit from the high performance of the native System.Numerics types. Those should be preferred whenever performance is valued over precision.

  • Classes defining geometric shapes, including:

    • Capsule (a swept sphere)
    • Cone
    • Cuboid
    • Cylinder
    • Ellipsoid
    • Frustum
    • HollowSphere (a sphere with two radii, representing a shell with a thickness)
    • Line (2-dimensional)
    • SinglePoint (1-dimensional)
    • Sphere
    • Torus
  • Also includes the FloatRange struct, which specifies a floating point value as a minimum, maximum, and average value.

Installation

Tavenem.Mathematics is available as a NuGet package.

Roadmap

Tavenem.Mathematics is a relatively stable library. Although additions and bugfixes are possible at any time, release should generally be expected to folow the .NET release cycle, with one or more preview releases during a framework preview, and a new stable release coinciding with the release of a new .NET framework major version.

Contributing

Contributions are always welcome. Pull requests with well-tested code that improves the performance of the library are especially encouraged. Please carefully read the contributing document to learn more before submitting issues or pull requests.

Code of conduct

Please read the code of conduct before engaging with our community, including but not limited to submitting or replying to an issue or pull request.

Product Versions
.NET net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Tavenem.Mathematics:

Package Downloads
Tavenem.HugeNumber The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A class for representing extremely large (or small) numbers with high precision.

Tavenem.Chemistry The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Model chemical formulae and physical substances.

Tavenem.Universe The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Classes to help model a universe.

Tavenem.Time The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Provides classes capable of accurately representing extremely large and small time intervals, suitable for time scales such as the age of a universe, with precision down to Planck time.

Tavenem.Randomize The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Random number generation with various distributions.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.2 167 11/8/2022
2.1.0-preview.11 66 9/16/2022
2.1.0-preview.1 102 9/13/2022
2.0.0 336 12/3/2021
2.0.0-preview.11 114 8/28/2021
2.0.0-preview.10 104 8/28/2021
2.0.0-preview.9 96 8/27/2021
2.0.0-preview.8 92 8/27/2021
2.0.0-preview.7 97 8/26/2021
2.0.0-preview.6 97 8/24/2021
2.0.0-preview.5 87 8/24/2021
2.0.0-preview.4 91 8/24/2021
2.0.0-preview.3 98 8/24/2021
2.0.0-preview.2 98 8/19/2021
2.0.0-preview.1 95 8/19/2021
1.1.2 276 5/3/2021
1.1.1 221 4/21/2021
1.1.0 223 4/10/2021
1.0.0 505 4/9/2021