๐Ÿš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more โ†’
Socket
Sign inDemoInstall
Socket

cyphercrescent.sepalsolver

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

cyphercrescent.sepalsolver

1.0.0
unpublished
NuGet
Version published
Maintainers
0
Created
Source

CypherCrescent SepalSolver

SEPALSolver Build

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");

image

๐Ÿ“ Project Structure

Folder/FileDescription
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.

FAQs

Package last updated on 15 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts