omy.Utils.Mathematics 1.2.1

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package omy.Utils.Mathematics --version 1.2.1
                    
NuGet\Install-Package omy.Utils.Mathematics -Version 1.2.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="omy.Utils.Mathematics" Version="1.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="omy.Utils.Mathematics" Version="1.2.1" />
                    
Directory.Packages.props
<PackageReference Include="omy.Utils.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 omy.Utils.Mathematics --version 1.2.1
                    
#r "nuget: omy.Utils.Mathematics, 1.2.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.
#:package omy.Utils.Mathematics@1.2.1
                    
#: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=omy.Utils.Mathematics&version=1.2.1
                    
Install as a Cake Addin
#tool nuget:?package=omy.Utils.Mathematics&version=1.2.1
                    
Install as a Cake Tool

Utils.Mathematics Library

The Utils.Mathematics package offers advanced math helpers and generic algebra types used by other utilities. It targets .NET 9 and is built for extensibility so algorithms can operate on generic numeric types.

Features

  • Symbolic expression derivation and integration
  • Fast Fourier Transform implementation
  • Conversions to and from SI units
  • Generic linear algebra structures (vectors and matrices in any dimension)

Usage examples

int[] line = Utils.Mathematics.MathEx.ComputePascalTriangleLine(4); // [1,4,6,4,1]
Complex[] signal = [1, 1, 0, 0];
var fft = new Utils.Mathematics.Fourrier.FastFourrierTransform();
fft.Transform(signal);
var vector = new Utils.Mathematics.LinearAlgebra.Vector<double>([1, 2]);
var identity = Utils.Mathematics.LinearAlgebra.MatrixTransformations.Identity<double>(2);
var result = identity * vector; // [1, 2]
Expression<Func<double, double>> func = x => x * x;
var derivative = (Expression<Func<double, double>>)func.Derivate();
var integrator = new Utils.Mathematics.Expressions.ExpressionIntegration("x");
var simplifier = new Utils.Mathematics.Expressions.ExpressionSimplifier();
var integral = (Expression<Func<double, double>>)simplifier.Simplify(integrator.Integrate(func));
var converter = Utils.Mathematics.NumberToStringConverter.GetConverter("EN");
string text = converter.Convert(12.34m); // "twelve point thirty four hundredths"
var limit = converter.MaxNumber; // null when unlimited
Product 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.  net10.0 was computed.  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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on omy.Utils.Mathematics:

Package Downloads
omy.Utils.Imaging

Bitmap accessors, color conversions, and lightweight drawing primitives built on System.Drawing.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-rc.1 135 8/28/2026
1.2.1 492 11/3/2025
1.2.0 200 9/26/2025
1.1.1.1 213 8/20/2025
1.1.1 225 8/20/2025
1.0.1 185 6/20/2025
1.0.0 162 6/20/2025