Dew.Math.Core
6.3.10
dotnet add package Dew.Math.Core --version 6.3.10
NuGet\Install-Package Dew.Math.Core -Version 6.3.10
<PackageReference Include="Dew.Math.Core" Version="6.3.10" />
<PackageVersion Include="Dew.Math.Core" Version="6.3.10" />
<PackageReference Include="Dew.Math.Core" />
paket add Dew.Math.Core --version 6.3.10
#r "nuget: Dew.Math.Core, 6.3.10"
#:package Dew.Math.Core@6.3.10
#addin nuget:?package=Dew.Math.Core&version=6.3.10
#tool nuget:?package=Dew.Math.Core&version=6.3.10
Dew.Math.Core
Cross-platform managed math library for .NET
Dew.Math.Core is the portable, pure managed edition of the Dew.Math library. It provides the same high-level vector and matrix programming model, expression parser, probability and optimization toolkits, and special function support, but does not rely on any native runtime libraries. This enables maximum compatibility across platforms and deployment environments.
Use Dew.Math.Core when building applications and shared libraries that must run on Windows, Linux, macOS, iOS, Android, MAUI, Uno, WebAssembly, Unity* and containerized or plugin-based systems without requiring platform-specific native dependencies.
Key Features
- Same programming model as Dew.Math: Vectors, Matrices, subranges, views and capacity-based memory design
- Pure managed implementation (no native BLAS, LAPACK or external libraries required)
- Operator overloads and method-based APIs for vectorized computation
- Complex number support throughout the vector and matrix system
- Expression parser and vectorized formula evaluation
Optimization and Curve Fitting
Includes nonlinear optimization methods:
- Simplex (Nelder-Mead)
- Marquardt (with numerical derivatives)
- BFGS
- Conjugate Gradient
- Trust Region
Probability and Special Functions
- Probability distributions and random number generators
- Monte Carlo workflows
- Polynomial tools, spline interpolation, piecewise functions and polynomial fitting
- Numerical differentiation and integration routines
- Special mathematical functions including: Airy, Bessel, Gamma-related families, Legendre polynomials, elliptic integrals
Advanced Memory Model
The same advanced memory and concurrency design from Dew.Math is also available in Dew.Math.Core:
- Vectors and Matrices expose a Capacity property to reduce allocation count
- Subranges (views / spans) allow memory partitioning without copying
- Object pool enables parallel allocation with minimal GC pressure
- Designed for multi-threading from the start (MtxVec lineage)
- Nearly all math operations avoid internal allocations
This makes Dew.Math.Core suitable for long-running simulation engines, model servers, and streaming computation pipelines where predictable allocation patterns matter.
Platform and Deployment Model
- No native libraries required (pure managed)
- Works on:
- Windows
- Linux
- macOS
- iOS / Android (via Xamarin / MAUI)
- Uno, Avalonia, Blazor / WebAssembly
- Unity* (subject to IL2CPP/AOT constraints)
Target Frameworks
- netstandard2.0
- net8.0
- net9.0
Drop-in Replaceable Architecture (Important)
Dew.Math.Core shares the same namespaces and class names as:
- Dew.Math (Windows hardware-accelerated)
- Dew.Math.Linux (Linux hardware-accelerated)
This allows switching editions without modifying code.
Example deployment workflow:
- Develop on Windows using Dew.Math.Core (maximum portability)
- Before final deployment:
- Replace Dew.Math.Core with Dew.Math for Windows acceleration, or
- Replace Dew.Math.Core with Dew.Math.Linux for Linux acceleration
- Rebuild your solution. No source changes required.
No #ifdef, no dual code paths, no API differences.
Hardware-Accelerated Editions (Optional)
| Package | Platform | Acceleration Model |
|---|---|---|
| Dew.Math | Windows | Native AVX2 / AVX-512 acceleration |
| Dew.Math.Linux | Linux | Native AVX2 / AVX-512 acceleration |
| Dew.Math.Core | All | Managed-only, portable |
Examples
Dew Research GitHub Home: https://github.com/Dew-Research
WinForms / WPF / ASP.NET (.NET Framework) examples: https://github.com/Dew-Research/DewLabStudio-NETFramework-Samples
WinForms (.NET Core / .NET 6-9) examples: https://github.com/Dew-Research/DewLabStudio-NETCore-Samples
Documentation
API Reference: https://www.dewresearch.com/Help/VSNET/MtxVec/contents.html
User Guide (PDF): http://downloads.dewresearch.com/downloads/MtxVecV6-CSharp.pdf
Product Page: https://www.dewresearch.com/products/mtxvec
NuGet Publisher Profile: https://www.nuget.org/profiles/DewResearch
License: https://www.dewresearch.com/downloads/LicenseNET.pdf
License
Commercial license. See DewMathLicense.txt included in this package. All Dew.* NuGet packages on nuget.org are trial versions and work only inside Visual Studio IDE.
| 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 is compatible. 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 is compatible. 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 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
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Dew.Math.Core:
| Package | Downloads |
|---|---|
|
Dew.Stats.Core
Dew.Stats.Core is the cross-platform and managed-only edition of the Dew.Stats statistical computing library. It provides an extensive suite of tools for probability distributions, hypothesis testing, regression, multivariate analysis, time-series modeling, and experimental design. Built on top of Dew.Math.Core, it operates without native binary dependencies, making it suitable for Windows, Linux, macOS, mobile environments, plugins, sandboxed systems, and WebAssembly deployment. Probability Distributions and Random Models: - PDF, CDF, and inverse CDF for 36+ standard continuous and discrete distributions - Random number generators with parameter estimation and sampling workflows Descriptive and Exploratory Statistics: - Moments, quantiles, percentiles, ranks, scaling, normalization, cumulative transforms - Histograms, ogives, and distribution diagnostics Hypothesis Testing and Statistical Inference: - Parametric tests: t-test, Z-test, F-test, Chi-Squared, Bartlett, Hotelling T² - Non-parametric tests: Wilcoxon, Sign, Mann-Whitney, Anderson–Darling, Shapiro–Wilk, KS - Confidence intervals, residual analysis, goodness-of-fit evaluation Regression and Model Fitting: - Linear and multiple linear regression (weighted / unweighted) - Logistic, Poisson, Ridge regression, nonlinear regression (BFGS / CG / Marquardt / Simplex) - ANOVA and ANCOVA, principal component regression Multivariate and Structure Analysis: - PCA (covariance/correlation), PCA residuals, item analysis, rotational transforms - Classical Multidimensional Scaling and dimensionality significance tests Time Series Analysis and Forecasting: - ACF and PACF, moving-average and smoothing methods - ARMA/ARIMA/ARAR models with coefficient estimation via Yule–Walker, Burg, Innovations, and MLE - Box-Ljung significance tests and forecasting diagnostics Ready-to-Use High-Level Components: - TMtxANOVA, TMtxMulLinReg, TMtxNonLinReg, TMtxPCA, TMtxHypothesisTest, TMtxBinaryTest, TMtxMDScaling Integration Notes: - Uses Dew.Math.Core (managed vector/matrix computation, no native runtime dependency) - No visualization layer is included in the Core edition Dew.Stats.Core is ideal for portable analytics workflows, scripting, services, and embedded scientific computing. |
|
|
Dew.Signal.Core
Dew.Signal.Core is the cross-platform, managed-only edition of the Dew.Signal DSP library. It provides a comprehensive suite of digital signal processing algorithms and components without requiring native binary acceleration. This maximizes compatibility across platforms including Windows, Linux, macOS, mobile, embedded, and WebAssembly environments. Filter Design and Processing: - IIR filters: Butterworth, Chebyshev I/II, Elliptic, Bessel; analog and discrete design workflows - Frequency transformations in Z- and S-domains, bilinear and matched-Z transforms, pole/zero and state-space forms, group delay analysis, stability filters - FIR filter design: window methods, Remez exchange algorithm, Hilbert transformers, differentiators, integrators, Savitzky–Golay filtering, fast envelope detectors - Multi-rate filtering: half-band multistage FIR designs, zoom-spectrum, decimation, interpolation Nonlinear Processing: - Sample-and-hold, sample-and-decay, and median filtering Spectral Analysis and Estimation: - FFT-based spectral analysis framework - Parametric estimators: Yule–Walker, Burg, Covariance, Modified Covariance - CZT, real and complex cepstrum and inverse cepstrum - Bispectrum, bicoherence, coherence and transfer function estimation - Peak detection, peak interpolation and tracking, phase unwrapping - Advanced spectral statistics: noise floor, SFDR, THD, THDN, SINAD, RMS, SNR Time-Domain Modeling and System Representation: - Conversion between state-space, zero-pole, numerator–denominator transfer models - System zero/pole determination and stability analysis Signal Synthesis, Streaming, and Measurement: - Signal generators using stack-based vectorized function evaluation - Support for multiple noise models: white, pink, brownian, blue, violet - Components for continuous streaming, recording, playback, triggering and monitoring - Scalable FIR and IIR convolution, auto-correlation, cross-correlation, DCT/IDCT Forecasting and Time-Series Modeling: - Spectral forecasting based on user-defined peak selection for interpretable predictive modeling Platform and Integration Notes: - Uses Dew.Math.Core as its numerical foundation (managed vector/matrix computing) - Visualization is optionally provided through Dew.Signal.Tee (Windows-only), not included here - Compatible with cross-platform UI frameworks (MAUI, Uno, Avalonia), compute services, and WASM Dew.Signal.Core is ideal when portability, sandbox safety, or plugin isolation is required. |
|
|
Dew.Lab.Studio.Core
Dew.Lab.Studio.Core bundles the portable, managed-only editions of the Dew libraries for maximum cross-platform reach. It includes Dew.Math.Core (numerical computing), Dew.Signal.Core (DSP and spectral analysis), and Dew.Stats.Core (probability, statistics, modeling), all without native runtime dependencies. What it provides: - Numerical computing: vectors/matrices, linear algebra (QR/LU/SVD/eigen), complex arithmetic, interpolation and splines, polynomial tools, special functions, numerical integration/differentiation - Signal processing: FIR/IIR filters, FFT/spectral analysis, resampling, windowing, convolution/ correlation, time/frequency-domain transforms, streaming-friendly primitives - Statistics and modeling: probability distributions and generators, descriptive statistics, hypothesis tests, regression/curve fitting, optimization (Levenberg–Marquardt, BFGS, CG, simplex, trust-region) Portability model: - Pure managed (no native binaries) for libraries, plugins, mobile, WASM, and constrained hosts - Targets netstandard2.0, net8.0, and net9.0 to cover legacy and modern .NET runtimes Choose Dew.Lab.Studio.Core when you need unified math + DSP + stats in a single package with the widest platform compatibility and zero native deployment. |
GitHub repositories
This package is not used by any popular GitHub repositories.