Misaki.HighPerformance.Mathematics 1.3.4

dotnet add package Misaki.HighPerformance.Mathematics --version 1.3.4
                    
NuGet\Install-Package Misaki.HighPerformance.Mathematics -Version 1.3.4
                    
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="Misaki.HighPerformance.Mathematics" Version="1.3.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Misaki.HighPerformance.Mathematics" Version="1.3.4" />
                    
Directory.Packages.props
<PackageReference Include="Misaki.HighPerformance.Mathematics" />
                    
Project file
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 Misaki.HighPerformance.Mathematics --version 1.3.4
                    
#r "nuget: Misaki.HighPerformance.Mathematics, 1.3.4"
                    
#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.
#:package Misaki.HighPerformance.Mathematics@1.3.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Misaki.HighPerformance.Mathematics&version=1.3.4
                    
Install as a Cake Addin
#tool nuget:?package=Misaki.HighPerformance.Mathematics&version=1.3.4
                    
Install as a Cake Tool

Misaki.HighPerformance.Mathematics

Math helpers, geometry primitives, numeric types, and SIMD-friendly utilities for performance-sensitive C# code.

This package focuses on fast scalar and vector math while keeping the API surface practical for game, simulation, rendering, and systems work.

What it includes

  • common math constants and helpers
  • custom numeric types
  • quaternion and random helpers
  • geometry primitives
  • SIMD-oriented vector utilities
  • generated vector extensions and codegen-backed math support

Highlights

  • constants exposed for float and double workflows
  • System.Runtime.Intrinsics-based helper code
  • geometry types for bounds and spatial calculations
  • designed to support vectorized and low-overhead numerical code

Main types

  • math
  • quaternion
  • random
  • svd
  • float
  • double
  • int
  • uint
  • bool
  • AABB
  • OBB
  • Plane
  • SphereBounds

Example

using Misaki.HighPerformance.Mathematics;

float radians = math.radians(90f);
float degrees = math.degrees(radians);
float tau = math.TAU;

float3 a = new float3(1f, 2f, 3f);
float3 b = new float3(4f, 5f, 6f);
float3 c = math.cross(a, b);

Package reference

dotnet add package Misaki.HighPerformance.Mathematics

Notes

This project targets net10.0, enables unsafe code, and uses generated source for parts of its vector API surface.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.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
1.3.4 93 5/12/2026
1.3.3 93 5/4/2026