How can I find Math.Net Numerics Technical Theory or Referance
I’m working on a project and in this project I’m using in Math.Net Numerics Interpolate class. Then, I want to learn that how can i find technical referance. For example; Math.Net Numerics akima...
View ArticleGetting critical values for t-student criteria
Hello! It is possible to get the critical values of t-student criteria using Math.NET? 1 post - 1 participant Read full topic
View ArticleWhich is faster - SetSubMatrix vs interative copy of a column
Hello, just getting started with MatNET.Numerics. I am porting some Matlab code to C#. I frequently need to copy a column of a Matrix to another Matrix (same number of rows). Making the code run fast...
View ArticleEquivalent functionality of Matlab sortrows()
Is there a MathNET.Numerics equivalent of Matlab’s sortrows(A, column), where A is a Matrix<double>? 1 post - 1 participant Read full topic
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Article