CypherCrescent.SepalSolver
1.0.0
dotnet add package CypherCrescent.SepalSolver --version 1.0.0
NuGet\Install-Package CypherCrescent.SepalSolver -Version 1.0.0
<PackageReference Include="CypherCrescent.SepalSolver" Version="1.0.0" />
<PackageVersion Include="CypherCrescent.SepalSolver" Version="1.0.0" />
<PackageReference Include="CypherCrescent.SepalSolver" />
paket add CypherCrescent.SepalSolver --version 1.0.0
#r "nuget: CypherCrescent.SepalSolver, 1.0.0"
#addin nuget:?package=CypherCrescent.SepalSolver&version=1.0.0
#tool nuget:?package=CypherCrescent.SepalSolver&version=1.0.0
CypherCrescent SepalSolver
SepalSolver is a powerful, in-house computational mathematics library developed by CypherCrescent. It provides robust capabilities for numerical analysis, symbolic expression evaluation, linear optimisation, and data visualisation. The library is designed to support scientific computing, research-driven modelling, and integration into engineering applications.
SepalSolver serves as the core solver engine for several internal tools and workflows, making it highly extensible and tailored for advanced users and researchers.
โจ Features
- ๐ Matrix Algebra: Support for common linear algebra operations
- โ๏ธ Optimisation: Solve linear programming, mixed interger program, quadratic programming and curve fitting problems
- ๐ Special Functions: Perform special function computation for both real and complex arguments
- ๐งฎ Ordinary Differential Equations: Solves systems of ordinary differential equations up to index 2 differential algebraic systems
- ๐งช Test-Ready: Built with test-driven development practices
๐ฆ Installation
You can install SepalSolver from NuGet.org using either the .NET CLI or NuGet Package Manager:
.NET CLI
dotnet add package SepalSolver
NuGet Package Manager
Install-Package SepalSolver
๐ Getting Started
Here's a simple example to evaluate an expression:
using static SepalSolver.Math;
static double fun(double x) => Pow(x, 3) - 2 * x - 5;
double x0 = 2;
double root = Fzero(fun, x0);
Console.WriteLine($"Result: {root}");
๐ง Optimisation Example
using SepalSolver;
using static SepalSolver.Math;
Func<ColVec, double> fun = x => 1 + x[0] / (1 + x[1]) - 3 * x[0] * x[1] + x[1] * (1 + x[0]);
ColVec lb = new double[] { 0, 0 }, ub = new double[] { 1, 2 }, x0 = (lb + ub) / 2;
var result = Fmincon(fun, x0, null, null, lb, ub);
Console.WriteLine(result);
๐ Plotting Example (via PlotLib)
using SepalSolver;
using static SepalSolver.Math;
using static SepalSolver.PlotLib;
ColVec x = Linspace(0, 10);
Matrix y = Enumerable.Range(0, 10).Select(i => BesselJ(i, x)).ToList();
// Plot result
Plot(x, y);
Xlabel("x-axis");
Ylabel("y-axis");
Title("Bessel function J");
๐ Project Structure
Folder/File | Description |
---|---|
SepalSolver/ |
๐ฆ Main NuGet library project with source code and packaging config |
SepalSolver.PlotLib/ |
๐ Plotting support library (now .NET Standard) |
SepalSolver.Test/ |
๐งช Unit tests and example usage |
EigenPack/ |
โ Internal or external numerical algorithms and helpers |
.github/workflows/ |
โ๏ธ GitHub Actions workflows for CI/CD and NuGet publishing |
README.md |
๐ Root-level documentation for repository overview |
๐งโ๐ป Maintainers
SepalSolver is developed and maintained by the Digital Services Team at CypherCrescent.
For contributions or feedback, open an issue or pull request via GitHub.
๐ Repository
GitHub: https://github.com/cyphercrescent/sepalsolver
๐ License
ยฉ CypherCrescent Limited. All rights reserved.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Highs.Native (>= 1.9.0)
- Microsoft.CodeAnalysis.CSharp.Scripting (>= 4.13.0)
- Microsoft.CSharp (>= 4.7.0)
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 |
---|