Dew.Math
6.0.8
See the version list below for details.
dotnet add package Dew.Math --version 6.0.8
NuGet\Install-Package Dew.Math -Version 6.0.8
<PackageReference Include="Dew.Math" Version="6.0.8" />
<PackageVersion Include="Dew.Math" Version="6.0.8" />
<PackageReference Include="Dew.Math" />
paket add Dew.Math --version 6.0.8
#r "nuget: Dew.Math, 6.0.8"
#:package Dew.Math@6.0.8
#addin nuget:?package=Dew.Math&version=6.0.8
#tool nuget:?package=Dew.Math&version=6.0.8
High performance math Library for .NET Framework, .NET Core and .NET Core Winforms
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:
- Full hardware acceleration for Windows (32 and 64bit) and for Linux OS (64bit). Runs with Intel AVX, AVX2 and AVX512 optimized codepaths, chosing the best codepath depending on the underlying hardware.
- Typical performance gain over .NET Core native code is 10x.
- With .NET Core use common 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 framework v2.0-4.8 , .NET Core 5.0 and .NET Core 6.0.
- 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.
- Allows runtime selection of algorithm precision (single or double)
- 100% of the .NET source code written in C#
- Optional separate assembly for additional charting features is available for Steema TeeChart.NET
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.
Examples
Documentation
IMPORTANT
When installing for .NET Core based projects, the packages will just work. For .NET Framework based projects, please copy content of:
.\YourSolution\Packages\Dew.Math.x.y.z\runtimes
to corresponding folders:
C:\Windows\System32 for x64 bit
C:\Windows\SysWOW64 for x32 bit
Failure to do so, will give an error when trying to run the application "..raised an exception in the type initializer, could not find ..dll.. "
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. net5.0-windows was computed. net5.0-windows7.0 is compatible. net6.0 is compatible. 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. net6.0-windows7.0 is compatible. 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. 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. |
| .NET Framework | net20 is compatible. net35 was computed. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 2.0
- Steema.TeeChart.NET (>= 4.2021.11.23)
-
net5.0
- No dependencies.
-
net5.0-windows7.0
- Steema.TeeChart.NET (>= 4.2021.11.23)
-
net6.0
- No dependencies.
-
net6.0-windows7.0
- Steema.TeeChart.NET (>= 4.2021.11.23)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Dew.Math:
| Package | Downloads |
|---|---|
|
Dew.Signal
Dew.Signal is a high-performance digital signal processing library built on top of Dew.Math, providing a comprehensive suite of optimized algorithms for real-time signal analysis, filtering, spectral estimation, modeling, and streaming signal workflows. The library is designed for scientific, engineering, audio, RF, vibration, instrumentation, control, and monitoring applications requiring both numerical accuracy and hardware-level performance on multi-core CPUs with AVX2/AVX512 support. Filter Design and Processing: - IIR filter design (Butterworth, Chebyshev I/II, Elliptic, Bessel), analog and digital domains - Order estimation, frequency transformations, bilinear and matched-Z transforms - State-space and zero-pole-numerator-domain modeling with group delay and stability analysis - FIR filter design using window methods and Remez exchange algorithm - FIR/Hilbert/differentiator/integrator design, Savitzky–Golay filtering, envelope detectors - Multi-rate filtering: half-band polyphase filters, decimation, interpolation, zoom-spectrum analysis Nonlinear and Adaptive Filters: - Sample-and-hold, sample-and-decay, and median filtering - High-quality rate conversion with 160dB stopband attenuation at high speed Spectral and Frequency-Domain Analysis: - FFT-based spectrum analyzer components with real-time UI integration support - Parametric spectral estimation: Yule–Walker, Burg, Covariance, Modified Covariance - Chirp-Z transform, bispectrum, bicoherence, transfer function, coherence estimation - Peak interpolation and peak-tracking enhancements, phase unwrapping - Real and complex cepstrum, inverse cepstrum - Spectral statistics: noise floor, SFDR, THD, THDN, SINAD, RMS, SNR measurements Signal Synthesis, Streaming, and Measurement: - Signal generators with stack-based vectorized function evaluation - Audio capture/playback with monitoring and triggering support - Data streaming and file format components for continuous acquisition and logging Forecasting and Time-Series Modeling: - Spectral forecasting based on controlled peak selection, enabling clear component-based prediction Integration and Extensions: - Works seamlessly with Dew.Math numeric structures (vectors/matrices) - Optional high-performance charting available via a separate Dew.Signal.Tee package (Windows visualization) - Part of the Dew Lab Studio ecosystem for unified math, DSP, and statistical analysis workflows Designed for reproducibility, determinism, and stable numerical behavior in long-running or real-time environments. |
|
|
Dew.Lab.Studio
Dew Lab Studio bundles the Dew.Math, Dew.Signal, and Dew.Stats libraries into a unified package suitable for scientific, engineering, financial, and real-time signal-processing applications. It includes full numerical computation, vectorized signal analysis and filtering, statistical modeling, probability distributions, spectral transforms, optimization, and advanced data workflows. This package also integrates visualization via Dew.Math.TeePro, Dew.Signal.Tee, and Dew.Stats.Tee, which extend TeeChart for high-performance plotting of large datasets, spectrograms, signal traces, matrices, probability distributions, and live streaming data. No hard WinForms linking is introduced into your own code; the visualization libraries depend on WinForms internally while allowing you to use WinForms, WPF, Avalonia, or custom UI frameworks. Included Components: - Dew.Math (Windows native-accelerated numerical computation) - Dew.Signal (real-time DSP, filtering, transforms, spectral and streaming signal analysis) - Dew.Stats (probability distributions, statistical modeling, hypothesis testing, inference) - Dew.Math.TeePro (high-speed charting extensions for numerical data) - Dew.Signal.Tee (spectral / time-frequency / oscilloscope plotting extensions) - Dew.Stats.Tee (statistical visualization and histogramming helpers) Usage Model: - Use Dew Lab Studio for Windows desktop and server applications requiring interactive visualization, scientific and engineering debugging workflows, data interpretation, or real-time signal monitoring. - For Linux HPC systems: use Dew.Lab.Studio.Linux (accelerated native Linux builds). - For maximum cross-platform portability: use Dew.Lab.Studio.Core (managed-only .Core builds). Platform Notes: - Dew.*.Tee packages depend on WinForms internally. Therefore, projects targeting net8.0-windows or net9.0-windows must enable the Windows Desktop framework (WinForms). |
|
|
Dew.Stats
Dew.Stats provides a complete high-performance statistical and data analysis library built on the vectorized numerical engine of Dew.Math. It is designed for scientific analytics, quantitative finance, machine learning preprocessing, laboratory data processing, industrial measurement evaluation, and real-time statistical diagnostics. Probability and Random Distributions: - PDF, CDF and inverse CDF for 36+ continuous and discrete probability distributions - Random number generators, parameter estimation, Monte-Carlo sampling, bootstrap methods Descriptive and Exploratory Statistics: - Central moments, percentiles, quantiles, ranks, trimmed means, variance and covariance analysis - Histograms, ogives, cumulative series, outlier detection, normalization, scaling transforms Hypothesis Testing and Inference: - Parametric tests: t-test, Z-test, F-test, Chi-Squared, Bartlett, Hotelling T² - Non-parametric tests: Wilcoxon, Mann-Whitney, Sign, Anderson–Darling, Shapiro–Wilk, KS - Confidence intervals, p-values, power analysis Regression and Statistical Modeling: - Linear, multiple, ridge, logistic, Poisson, and nonlinear regression - ANOVA and ANCOVA models, principal component regression - Robust regression and regularization options Multivariate and Structure Analysis: - PCA (Principal Component Analysis), MDS (Multidimensional Scaling), item analysis, factor modes Time Series Analysis and Forecasting: - Autocorrelation (ACF), partial autocorrelation (PACF), smoothing, ARMA/ARIMA/ARAR models - Rolling statistics, forecasting diagnostics, Box-Ljung significance tests High-Level Components: - TMtxANOVA, TMtxMulLinReg, TMtxNonLinReg, TMtxPCA, TMtxHypothesisTest, TMtxBinaryTest, TMtxMDScaling — encapsulated workflow components for rapid application development Integration: - Uses Dew.Math for optimized vector/matrix operations with AVX2/AVX512 hardware acceleration - Optional charting and statistical visualization available through **Dew.Stats.Tee** (separate package) Dew.Stats is designed for reproducible, numerically stable computation in research, industrial, and engineering applications. |
|
|
Dew.Math.TeePro
Add-on package for Dew.Math that provides enhanced TeeChart features: • High-speed GridSeries with comprehensive color palette management. • MtxFastLine series for rendering millions of points efficiently. • Fast helpers for pushing data into TeeChart series. • Supports .NET Framework 4.8 and modern .NET (8/9) on Windows. • 64-bit native mode supported. • XML documentation for modern .NET targets. Note: Prior to Dew.Math 6.3.10 this assembly shipped inside the Dew.Math package. From 6.3.10 onward it is a separate, optional package to keep TeeChart integration opt-in. |
|
|
Dew.Math.Tee
Dew.Math.Tee adds high-performance WinForms charting to Dew.Math by bundling the free TeeChart Lite assembly directly in this package (no external NuGet dependency). It enables fast visualization of vectors, matrices, and signal/statistical data on .NET Framework 4.8. Included visualization enhancements: - MtxFastLine: fast line plotting optimized for millions of points - MtxGridSeries: accelerated heatmap/matrix rendering with palette management - High-throughput helpers for streaming data into TeeChart series - Optional use with Dew.Signal and Dew.Stats components Platform model: - .NET Framework 4.8 (WinForms) only - TeeChart Lite DLL is included inside this package - No WPF, and no .NET (Core/5+/8/9) support in this package Use Dew.Math.Tee when building WinForms desktop tools that require fast plotting and visualization on top of Dew.Math. |
GitHub repositories
This package is not used by any popular GitHub repositories.