Coplt.Mathematics 0.19.0

dotnet add package Coplt.Mathematics --version 0.19.0
                    
NuGet\Install-Package Coplt.Mathematics -Version 0.19.0
                    
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="Coplt.Mathematics" Version="0.19.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Coplt.Mathematics" Version="0.19.0" />
                    
Directory.Packages.props
<PackageReference Include="Coplt.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 Coplt.Mathematics --version 0.19.0
                    
#r "nuget: Coplt.Mathematics, 0.19.0"
                    
#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 Coplt.Mathematics@0.19.0
                    
#: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=Coplt.Mathematics&version=0.19.0
                    
Install as a Cake Addin
#tool nuget:?package=Coplt.Mathematics&version=0.19.0
                    
Install as a Cake Tool

Coplt.Mathematics

Nuget

hlsl-style linear algebra library

  • bool (b16 b32 b64)、half [1]、float、double、short、ushort、int、uint、long、ulong、decimal [2]
  • Vector2~4 (float3 double4 int2 ...)
  • Matrix2x2~4x4 (float3x3 double4x2 int2x3 ...)
  • Hlsl-like cartesian product swizzle (.yzx .abgr ...)
  • Full simd support
  • Simd accelerated [3] log, exp, pow, fmod, trigonometry

<a name="note-1"></a>

  1. Very slow on CPU <a name="note-2"></a>
  2. Cpu only <a name="note-3"></a>
  3. Lower precision than C# system library

Todo

  • tests
  • rewrite the function with too low precision
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 (2)

Showing the top 2 NuGet packages that depend on Coplt.Mathematics:

Package Downloads
Coplt.Mathematics.Simt

HLSL-style linear algebra math library with full simd support

Coplt.Windowing

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.19.0 111 7/9/2026
0.18.0 182 6/17/2026
0.17.0 370 9/2/2025
0.16.0 239 8/19/2025
0.15.0 356 8/5/2025
0.13.0 215 7/18/2025
0.12.0 202 6/27/2025
0.11.0 237 6/26/2025
0.10.0 309 2/3/2025
0.9.0 213 1/2/2025
0.8.0 202 12/26/2024
0.7.0 197 12/25/2024
0.6.0 238 12/12/2024
0.5.0 204 12/12/2024
0.4.0 259 11/4/2024
0.3.0 204 10/10/2024
0.2.0 217 9/2/2024
0.1.0 252 7/20/2024
0.0.0 218 7/1/2024