Questions tagged [math.net]

This tag doesn't currently have an excerpt. Help contribute by writing one

256 questions
0
votes
1 answer

Broadcasting operations in MathNet

Suppose I have the following…
0
votes
1 answer

Simple Implementation of MATHNET Filtering Lowpass filter

I have created the following code: Double[] ArrayOfData = new Double[Size] { 0.5, 1.5, ... , 1.0 }; var lowPass = MathNet.Filtering.IIR.IirCoefficients.LowPass(0, 0, 0); MathNet.Filtering.IIR.OnlineIirFilter filter = new…
Maderas
  • 231
  • 2
  • 14
0
votes
1 answer

MATH.NET Numerics \ Stable Distributions. Exception of type 'System.NotSupportedException'

I have been experiencing an Exception error (surprisingly) while performing some parallel statistical tests with Math.Net Numerics, and I'd like to know the rationale. using MathNet.Numerics.Distributions; .... var stable = new Stable(1.7, -0.7,…
dark.vador
  • 619
  • 1
  • 6
  • 25
0
votes
1 answer

Align 2 sets of 3D points in Unity by using Singular Value Decomposition method (SVD)

I wanted to translate a set of reference points on contour to a set of corresponding target points. There are total 8 points on each contour. In order to calculate the rotation & translation vector, I was using Math.Net Numerics library to perform…
mcmc
  • 11
  • 6
0
votes
1 answer

Why does MathNet.Numerics.Control.UseManaged require Cuda?

I'm trying to test an ASP API controller which in turn calls out to a DLL which uses MathNet.Numerics.LinearAlgebra. I first call MathNet.Numerics.Control.UseManaged(); However this call fails with the error Exception thrown:…
dumbledad
  • 16,305
  • 23
  • 120
  • 273
0
votes
0 answers

How to calculate Noncentral t-distribution

Using MathDotNet, which class would I use to calculate a Non Central T-Distribution? I'm guessing the Student T class but can't workout the parameter required. Thanks
0
votes
0 answers

BSpline Approximation Using MathDotNet

Does MathDotNet have any capability about data approximations by using b-splines? Unfortunately i couldn't find anything in the documentations!
Ehsan Mirsaeedi
  • 6,924
  • 1
  • 41
  • 46
0
votes
2 answers

Fold by column in Math Net numerics, keeping track of number of columns

Using Math.Net numerics, I would like to do a task: Fold through each column, and multiply that column's value by the index of my vector. The problem is, none of the folding functions yield a counter...and counting within the folding functions is…
Chris
  • 28,822
  • 27
  • 83
  • 158
0
votes
1 answer

Numerical accuracy causing issues in Gottschalk's Oriented Bounding Box algorithm

I am trying to use Gottschalk's algorithm (code available here) to create an oriented bounding box (OBB) for 3D triangular meshes. Since I am dealing with meshes, I am using the covariance matrix and eigenvalue decomposition approach to create the…
Maghoumi
  • 3,295
  • 3
  • 33
  • 49
0
votes
1 answer

Math.net data read in class method not assigned to class member

I have a class library with objects using Math.net. The library contains classes that contain data and methods. As a trial I am instantiating an object of a member class and then call the the load method to fill the object with data from a file.…
jdelange
  • 763
  • 2
  • 10
  • 22
0
votes
0 answers

math.net numerics columnsum taking long time

What are the best practices to follow for math.net numerics matrices/vectors calculations in asp.net/c#. I'm performing huge number of (10000*30*35) matrices calculations. I'm using Intel MKL provider and C#.Net TPL but still it's taking ~40 seconds…
malkam
  • 2,337
  • 1
  • 14
  • 17
0
votes
1 answer

use beta distribution from mathdotnet in C# in VS2013

I ma using mathdotnet form C# in VS2013. I need to generate a sequence of samples from IEnumerable Samples(double a, double b) at http://numerics.mathdotnet.com/api/MathNet.Numerics.Distributions/Beta.htm#Samples I do not know how to…
user3601704
  • 753
  • 1
  • 14
  • 46
0
votes
2 answers

MathNet. RandomSource

The .Net package "MathNet.Numerics.Distributions" contains a method Normal(double mean, double stddev, Random randomSource). The first two parameters are double which can easily be set. But the third parameter Random randdomSource is causing…
0
votes
0 answers

C# and Delphi code have different behaviour when importing unmanaged dll

I am solving sparse system of linear equations with Math.Net Numerics in C#. I'm trying to export this code to dll (using Robert Giesecke's Unmanaged Exports) and run it from Delphi code. Here is my C# code: namespace MathNetSolverLib { public…
TKireev
  • 43
  • 7
0
votes
0 answers

Math.Net Numerics: Error in sampling from Negative Binomial

I'm using Math.Net to sample values from an overdispersed Poisson distribution. I'm doing this using the negative binomial link, as described here: https://stat.ethz.ch/pipermail/r-help/2002-June/022425.html My code currently looks like…
User_FSharp1123
  • 1,061
  • 1
  • 8
  • 19