Global fit of multiple data sets with shared parameters
When fitting mathematical models to data, it is often not enough to simply fit one dataset; it is necessary to globally fit many sets simultaneously, for which some of the model parameters are shared,...
View ArticleUpgrade MathNet Native MKL provider for Linux
Hi, At my firm, we use MathNet Numeric with Native MKL provider (version 2.3.0) on window. We are planning to migrate to Linux, but most recent version for MathNet.Numerics.MKL.Linux-x64 available at...
View Article2D (and higher dimensions) linear interpolation
Probably embarrassing simple question, how to perform linear interpolation on a 2D dataset (a table) given x and y inputs? (And higher dimensions for that matter, but 2D is my current need) 5 posts -...
View ArticleHow to Find Outliers in a dataset?
(topic deleted by author) 1 post - 1 participant Read full topic
View ArticleNative dlls in Native providers packages
Hi, Looking at the alpha releases of the native providers, i can’t find the actual native dlls in the package. This is true for all native providers i checked, including MKL and OpenBLAS that used to...
View ArticleVB.NET & MathNet Linear Algebra Vector Declaration
Has anybody a few code lines to declar the vectors correct in VB.NET with MathNet.Numeric? Thanks a lot, Best regards, Martini 1 post - 1 participant Read full topic
View ArticleWhat happens to memory used in Fit.Curve when...
I have the following C# code to do a Gaussian function curve fitting. I am having out-of-memory issue when MathNet.Numerics.Optimization.MaximumIterationsException is raised. How does Fit.Curve...
View ArticleSystem.NotSupportedException in MathNet.Numerics.dll
Hi. I have a VB .NET application where I want to use some of the MathNet functionality. I already use Fit.Curve which does work fine. Now I want to do FFT. When I use...
View ArticleGRG Non Linear Solver Equivalent
I am looking to use Math.NET to implement the excel GRG Non Linear solver in C#. This seems to fall under the non linear optimization topic in Math.NET and I was able to find a few examples of...
View ArticleTrustRegionNewtonCGMinimizer test and reference to publication
Can’t find tests for TrustRegionNewtonCGMinimizer. I would also appreciate a reference to the description of the method. 1 post - 1 participant Read full topic
View ArticleHow to jump-start with mathnet as a novice?
I have a concrete problem to solve. However, I have difficulty to start with MathNet Minimization. I learned to use the Maxtrix stuff. But the Minimization facilities baffle me. Let me be concrete: I...
View ArticleHow to use the BfgsBMinimizer and Neldermeadex class
I’m going to implement the following code (Python) in Math.Net: def fun(): #somecode return v def con(args): x1min, x1max, x2min, x2max= args cons = ({'type': 'ineq', 'fun': lambda x: x[0] - x1min},...
View ArticleBest way to grow a matrix?
I have a routine where I am adding an unknown amount of rows to a Matrix. What is the fastest, most efficient way to grow the Matrix? Anything better than: Matrix<double> origDb =...
View ArticleHow to set boundaries for interpolation / extrapolation?
I have the following code: LinearSpline spline = LinearSpline.InterpolateSorted(new double[] { 0, 1, 2, 4 }, new double[] { -0.5, -0.5, -0.3, -0.2 }); spline.Interpolate(10); I want to get “-0.2” as...
View Article1D Linear Interpolation in VB.net
I’m trying to recreate a curve, given with two arrays (one for x and one for y), using Math.NET with VB.net. In particular I need to rebuild this curve using 1D Linear Interpolation. I looked into...
View ArticleFFT Amplitude issue
Hi, I try to convert simple sine wave from time domain to frequency domain.the issue is, Amplitude is not same. here is my configuration i am using Math.Net.numeric ver.4.12.0.0 Signal Length 1024...
View ArticleMersenne Twister Thread Safe
Hi, Our Monte Carlo code has been using Mersenne Twister for several years now. Thank you! I am currently in the process of modifying our C# code to run in parallel across several CPUs (currently I...
View ArticleUsing the LevenbergMarquadtMinimizer
I have a script in the R language which takes an equation of the following form, with inputs for the m, w, r, and q variables, and it then optimizes for the variable a using Levenberg-Marquardt...
View ArticleUse AlmostEqual() as default EqualityComparer?
I am using a lot of Matrix<double> / Vector<double> structures, and need to deal with the idiosyncrasies of floating point calculations. Is there a way to use any of the AlmostEqual()...
View ArticleEquivalent functionality of Matlab unique()
Is there a MathNET.Numerics equivalent of Matlab’s unique(A, 'rows') (or unique(A)), where A is a Matrix<double>? 1 post - 1 participant Read full topic
View Article