Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

Dew.Math.Core

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Dew.Math.Core

Dew.Math.Core is the portable, pure managed edition of the Dew.Math library. It provides the same high-level matrix and vector programming model, expression parser, probability and optimization toolkit, and special function support without linking to any native runtime components. This enables maximum compatibility across platforms and runtime environments. Core Numerical Capabilities (Managed): - Dense matrix and vector operations with operator overloading and method-based APIs - QR, LU, SVD and eigenvalue routines using high-quality managed linear algebra kernels - Complex number and real-valued computation with full vectorization in managed code - Sparse matrix representations with iterative solver support - Probability distributions, histogramming, random generators, Monte Carlo workflows - Nonlinear optimization, curve fitting, regression models, trust-region and gradient methods - Vectorized expression parsing for symbolic-style expression and simulation pipelines - Polynomial and spline interpolation, numerical integration and differentiation - Special function suite including Bessel, Airy, Gamma-related, Legendre and elliptic functions Portability Model: - No native libraries required (zero unmanaged dependencies) - Runs on Windows, Linux, macOS, iOS, Android, MAUI, Uno, WASM, Unity*, cloud functions and plugins - Targets netstandard2.0, net8.0, and net9.0 Use Dew.Math.Core when you need **maximum portability** in libraries, shared simulation engines, tooling, mobile deployments, WebAssembly environments, or plugin architectures.

nugetNuGet
Version
6.2.3
Version published
Maintainers
1
Created
Source

High performance math Library for .NET Core

Multicore math engine for science and engineering. Dew Math Library is an object oriented math library for C# and .NET developers that offers a wide set of matrix and vector math operations. The library provides a broad set of vectorized numeric functions which include sparse matrices, complex numbers, probabilities, expression parser, optimization unit, SVD, QR, LQ, and LU solvers and special functions. Key features:

  • Common C# source to compile your applications for Windows, Mac OS, iOS / iPhone, Android and Linux. The full source version is called MtxVec Core Edition
  • Supports .NET Core 5, 6 (version 2022), 7 and 8 (version 2024).
  • High performance hardware accelerated variants are available for Windows and Linux.
  • Support for 64bit native mode execution.
  • Optimized Linear Algebra Package (LAPACK v3.7) numerical library
  • Extensive XMLDoc based tooltips for .NET Core projects.
  • Vectorized Math expression parser and evaluator
  • Various optimization and fitting algorithms allow solution to a large set of problems. Simplex (Nelder-Mead), Marquardt with numerical derivates, Dual Simplex, Two-phase Simplex, BFGS, Conjugate Gradient, Gomory's Cutting Plane, Brent, Linear optimization, Trust Region.
  • GPU support via OpenCL. Comprehensive implementation of the OpenCL API in object structure. Includes over 2000 GPU kernels.
  • Sparse matrices, Direct Solvers (UMFPack and Pardiso), CG Iterative Solvers. Eigenvalues of symmetric matrices, solvers for banded matrices.
  • Random Generators for over 18 distributions.
  • Roots of the polynomial, coefficients of the polynomial, Poly evaluations, fitting, splines, piecewise polynomials, polynomial division and multiplication.
  • Numerical integration by MonteCarlo, QuadGauss, Romberg methods.
  • Special functions Airy, Biry, Besh, .... Elliptic integrals and Legendre Polynomials.
  • Toeplitz matrix solvers. (Levinson Durbin).
  • Cumulative distribution functions (CDF) and probability density functions (PDF) with probability statistics for over 30 probability distributions.
  • Specialized super-conductive memory allocation allows 100% thread concurrency for arbitrary thread count outperforming garbage collector.
  • Allow runtime selection of algorithm precision (single or double)
  • 100% of the source code written in C#

Advanced memory management designed for multi-threading

  • Implements .NET Core principles since year 2006 (memory views/spans/sub-arrays)
  • Vectors and Matrices feature "Capacity" property to reduce memory allocation count
  • Object-cache allows concurrent Vector/Matrix allocation without putting pressure on the garbage collector and implements fully parallel memory manager (one memory-pool per thread).
  • Subranges (Spans/Sub-arrays) allow "nested" memory partitioning on the same vector/matrix object.
  • Does not allocate memory internally except in very rare cases.

Visual Studio support

  • Version 2022 supports Visual Studio 2022 up to 17.6 (excluding)
  • Version 2024 supports Visual Studio 2022 17.6 forward.

Examples

Documentation

Keywords

dotNet

FAQs

Package last updated on 18 May 2024

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