This tag doesn't currently have an excerpt. Help contribute by writing one
Questions tagged [math.net]
256 questions
4
votes
3 answers
How to shuffle a "DenseMatrix" in F#
In Matlab we can write the following code to shuffle a matrix:
data = data(:, randperm(size(data,2)));
there is what I write with Math.NET:
let csvfile = @"../UFLDL-tutorial-F#/housing.csv"
let housingAsLines =
File.ReadAllLines(csvfile)
…

madeinQuant
- 1,721
- 1
- 18
- 29
4
votes
1 answer
can make more than 2 dimensional Matrix using math.net
I need to use a 4 dimensional matrix.
I am using math.net numeric library for c#,
I have tried the
Matrix> test;
but it didn't work
i know that I can write the following
Matrix [][] test;
but I don't want it this way

Mohammad Shaban
- 176
- 1
- 16
4
votes
0 answers
How to analitacally solve system containing ">" in Math.Net Symbolics?
I need to evaluate what simplifies to:
using System;
using System.Collections.Generic;
using MathNet.Symbolics;
namespace GtEq {
static class Program {
private static void Main(string[] args) {
var eq = Infix.ParseOrThrow("a…

DuckQueen
- 772
- 10
- 62
- 134
4
votes
1 answer
Solving linear equation using Math.NET Symbolics
I tried modified the code given here to solve linear equations for values of x. Such as
(3*x+7)/3+(2*x)/9=6/10
by first splitting it into two expressions right and left and then using the "SolveSimpleRoot" and it worked giving the value of x. But if…

Fairoz
- 43
- 3
4
votes
2 answers
How can I convert matrix to Matrix?
I want to calculate something like: Matrix * Matrix
the Matrix has about 6M*3 elements , how can I convert the Matrix to Matrix so that I can get a Matrix result.

xcl
- 45
- 4
4
votes
0 answers
Availability of nonlinear minimization function/library in math.net
Does anyone know if there any functions/libraries for nonlinear minimization using Newton type method math.net or any other free .net library for that sake
Thank you in advance.
user3755708
4
votes
1 answer
Incorrect linear interpolation with large x values using Math.Net Numerics
I'm trying to use Math.NET Numerics to do interpolation of a DateTime - Value series. I started off with linear interpolation, but am getting some very off looking results.
Running this test:
public class script{
public void check_numerics()
{
…

jdpilgrim
- 358
- 3
- 13
4
votes
2 answers
Confidence Intervals Using MathNET
I have a IEnumerable data sample. I want to compute the 90% confidence interval for the signal/data. I have MathNET library at my disposal, but I am confused as to how to correctly work with the library. Given my data, the idea is to return…

MoonKnight
- 23,214
- 40
- 145
- 277
4
votes
1 answer
get minimum & maximum value of dense matrix elements
Using MathNet.numerics for C# , I have created dense matrix of doubles.
I wish to find the minimum & maximum element-value of a matrix.
Is there an accessor to get the maximum/minimum value of the dense matrix elements?
Actually I do this
var…

LeMoussel
- 5,290
- 12
- 69
- 122
3
votes
1 answer
Can anyone explain why I get TypeLoad Exception while using MathNet.com Numerics Library?
I get a strange System.Action TypeLoadException while multiplying two matrixes, Can anyone help?
I created a new project in VS2008, 32bit, and changed target framework to 2.0, include MathNet.Numerics.dll and execute the fallowing code:
using…

Jonas
- 1,365
- 3
- 21
- 39
3
votes
2 answers
Can I use Math.NET runtimes with a .NET 2.0 or .NET 3.5 application?
I just downloaded the latest version of Math.NET and I'm running into some trouble when I use it.
Could it be that the library was meant to run on a .NET 4.0 project?
Update:
The compiled dlls are within a "Net40" folder, does that mean I cannot…

Jonas
- 1,365
- 3
- 21
- 39
3
votes
1 answer
Why is Max size of int array lower than Int32.MaxValue?
Even though this post says it should work, if you create an int array of size Int32.MaxValue, it throws an OutOfMemoryException: Array dimensions exceeded supported range.
From my testing, it seems like the maximum size that an array can be…

Saamer
- 4,687
- 1
- 13
- 55
3
votes
0 answers
GRG Non Linear Solver Equivalent in C#
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 optimization in…

Murali
- 31
- 1
3
votes
1 answer
Low pass filter not working in MathNet.Filter, F#
I am trying to use a low-pass filter with F# using MathNet.Filter and when I plot the results is not working.
I have found some similar questions in C#, but when I reproduce the code in F# The result is wrong.
Here it is the way I am using…

Jose M Gonzalez
- 349
- 3
- 16
3
votes
1 answer
Parse Tanh in Math.NET Symbolics
Does the MathNet.Symbolics.Infix parser have a way of identifying more complicated trig functions such as tanh? I have tried the following in F# but it is not recognised (I get an undefined expression). When I replace 'tanh' with 'cos' it works just…

mwpb
- 83
- 7