.NET Standard 2.1
Install-Package StarMath -Version
dotnet add package StarMath --version
<PackageReference Include="StarMath" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StarMath --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: StarMath,"
#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 StarMath as a Cake Addin
#addin nuget:?package=StarMath&version=

// Install StarMath as a Cake Tool
#tool nuget:?package=StarMath&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A small library for performing matrix math, linear algebra - now including sparse matrix solve. Most functions are static and use simple arrays (e.g double[,]) making it easy to use in other projects.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on StarMath:

Package Downloads

This dynamic library is focused on Computational Geometry functions likes the ones you would find in CGAL. As opposed to copying directly others work, we have sought to create functions from scratch that are optimized or straightforward as a C# implementation. As a .NET Standard library (and a legacy portable class library), the functions can be accessed from other managed code.


A library (.dll) of various linear, nonlinear, and stochastic numerical optimization techniques. While some of these are older than 40 years, many have yet to take advantage of an object-oriented programming model. This toolbox was originally created to aid in the automated design of various engineering artifacts. The following “class diagram” shows the main optimization methods that have currently been implemented – as well as some insight into organization of classes and objects. The best way to understand how to use OOOT, is through examples. There are two basic types of methods implemented so far: methods for continuous variables and methods for discrete variables. Approaches for mixed methods such as Branch-and-Bound are planned but not currently included. ClassDiagram1Many of the optimization methods for real valued decision variables will require that a line-search method be specified (Arithmetic Mean, Golden Section, DSC-Powell) and a search direction method (Cyclic Coordinate Search, Steepest Descent, Powell’s Method, Fletcher-Reeves, or Broyden-Fletcher-Goldfarb-Shanno). With this modular design it is possible to reconfigure these to create 80 unique algorithms. In addition to these there are also ten different convergence criteria that can be added individually or in any combination to these 80 algorithms. Read more about convergence methods here. But, one of the biggest advantages of the toolbox is the way that objective functions, equalities and inequalities can be easily added to the optimization process. Most (if not all open source approaches) optimization codes requires the problem specific details to be compiled along with the algorithm. Here, the problem formulation can be in another library or exe and can be customized at run-time instead of compile time. It is even possible to have the optimization algorithm change in response to the nature of the design variables and the number of constraints. Read more about problem formulation

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on StarMath:

Repository Stars
Open Source Graphical Programming for Design
Version Downloads Last updated 4,405 2/4/2020 5,832 10/20/2017 1,994 7/25/2017 1,107 4/14/2017 1,067 5/29/2016 1,047 4/24/2016 860 3/12/2016 802 3/11/2016 774 2/29/2016 1,221 2/28/2016 878 2/20/2016 1,059 10/5/2015 941 10/2/2015 934 9/18/2015 795 9/14/2015 796 9/14/2015 816 9/12/2015 786 9/9/2015 782 9/4/2015 803 9/6/2015 836 9/4/2015 1,093 8/7/2015 1,049 8/7/2015 849 7/16/2015 858 7/7/2015 805 6/30/2015 1,229 2/18/2015 875 1/17/2015 1,095 12/7/2014 1,040 12/7/2014 40,198 11/14/2014 274 2/4/2020 1,706 8/26/2014 896 8/26/2014 864 8/8/2014 887 6/4/2014