Quantcast
Channel: Math.NET Numerics - Math.NET
Browsing all 224 articles
Browse latest View live

System.OutOfMemoryException when doing matrix multiplication

@Lili wrote: When I do matrix multiplication ( C# ), the problem : System.OutOfMemoryException” MathNet.Numerics.dll happens. The equation I use can be simplified as C=AB , where A is a double matrix...

View Article


Native Provider

@candychiu wrote: Hi Christoph, Did you use MinGW to compile OpenBLAS on Windows? Is there any instruction in the documentation for building the NativeProvider solution? Thanks,Candy Posts: 2...

View Article


Source code of mathdotnet.numerics

@Sebastien_Fremal wrote: Hello ! I would like to get a look to the source code of the Mathdotnet.Numerics project (more espcially the Distribuion files), but I only find information on how to install...

View Article

How to define polynomials and manipulate them?

@Davi_Giugno wrote: I'm pretty new to Math.Net and I must by now do polynomial multiplication efficiently. What I want to know, to be more precise, is 1) How to define a polynomial in terms of its...

View Article

Fit.LinearCombination returns NaN vector

@Raul_m wrote: Hi I'm want to Fit with least squares a and b in this model y=a+b*e^x with this data (Year,Value) 2010 642011 632012 612013 602015 572016 502017 1 I call Math.NET like this double...

View Article


Convolution of two independent probability distributions

@Pepersteak wrote: How would I use Math.Net to Convolve 2 independent random variables? Assume we have two random variables X and Y such that X∼P(x) and Y∼G(y). We ask, what is the distribution of...

View Article

Mapping a function with multiple parameters

@jdelange wrote: If M is a matrix, then I know I can apply a function on each element using Map(). So to apply Tanh(x) on each element of M, I can do M.Map(Math.Tanh). This works because Tanh(x) takes...

View Article

Hadamard / Schur product

@jdelange wrote: Is there a Hadamard or Schur product implementation in MathNet? If not, what would be a work-around? Posts: 3 Participants: 2 Read full topic

View Article


Is Math.net (e.b. Fit) thread safe?

@BikeMike wrote: Dear all, I am new to Math.net and wanted to ask, if FIt.Line is thread-safe?If I call this with different input values from >20 threads, s the result jeopardized in any way? Tuple...

View Article


Gauss–Kronrod Quadrature Feature

@larzw wrote: Would a feature that supports generating the Gauss-Kronrod Nodes/Weights be of intrest? It would be based off the...

View Article

Calculate t-ratio , or r square adjusted value

@Sampath_DR_Doca wrote: I'm usign MathDotNet for Multiple regression. Is there way to get a t-ratio , or r square adjusted value ? Posts: 1 Participants: 1 Read full topic

View Article

1x1 Sparse by 1x1 Diagonal matrix -> Exception

@MicroTester wrote: I am getting exception when I try to run the folloeing code: var aSparse = Matrix<double>.Build.Sparse(1, 1, -1.0); var bDiagonal = Matrix<double>.Build.Diagonal(1, 1,...

View Article

Gauss-Legendre Quadrature Feature

@larzw wrote: Hello! Would Integration via Gauss-Legendre Quadrature be an interesting feature to add? It would be similar to the GNU Scientific Library function gsl_integration_glfixed see...

View Article


Linear Regression with regularization (lasso / ridge regression)

@Herger wrote: Hello, I'm new to Math.Net Numerics and was browsing the functionalities in the doc and found the part "Regularization" in the linear regression topic missing. Any plan for adding it...

View Article

Inverted Matrix Values are NaN and Infinity

@atekgul wrote: Hi,I am solving a least squares adjustment problem, and trying to invert a 3x3 matrix, but the result matrix values are getting NaN or Infinity. I have tried to invert this 3x3 matrix...

View Article


Image may be NSFW.
Clik here to view.

Cubic-spline interpolator to fit osculating circles

@DavidRutten wrote: Initially posted this on StackOverflow... but not sure if that was a good idea. How does one go about calculating the proper n-th order coefficients for a Math.NET cubic spline...

View Article

Image may be NSFW.
Clik here to view.

Finding asymptotes in interpolations

@DavidRutten wrote: Sometimes Equidistant-Polynomial and Bulirsch-Stoer interpolation result in discontinuities in the final graph, making it look silly because I just connect all sampled values left...

View Article


Error thrown from Fit.Polynomial

@DRNadler wrote: I tried to fit a simple polynomial: polyFit = MathNet.Numerics.Fit.Polynomial(xSlope, yExpectedPRgap, 3);Input arrays are both double[3] and do work with a line fit as in: Tuple...

View Article

Get submatrix by array of column and row indices

@tsnewer wrote: Hello,How can i choose some rows in a matrix arbitrarily to product a new matrix ? For example, i can do it in matlab like this, A=rand(5,5); index=[1 3 5]; B=A(index,:); . Posts: 3...

View Article

How to create random orthogonal matrix

@jdelange wrote: I am studying the easiest way to create (uniform) random filled orthogonal matrices. I think one way would be a A=QR-decomposition of a random filled matrix A, whereby Q would give me...

View Article
Browsing all 224 articles
Browse latest View live