Sorry if this is a dumb question...
I would like to upgrade from an older version to current Numerics library.
I have lots of code of the form:
Thanks!
I would like to upgrade from an older version to current Numerics library.
I have lots of code of the form:
double[][] ActualGaps = new double[10][];
// ... fill in ActualGaps
Matrix mB = new Matrix(ActualGaps); //create B from 10 row, 1 column array
New version of Numerics requires something like Matrix<double> mB = new Matrix(ActualGaps); //create B from 10 row, 1 column array
But that's still not correct; right side generates error: Error 1 Using the generic type 'MathNet.Numerics.LinearAlgebra.Matrix<T>' requires 1 type arguments
What's the correct syntax?Thanks!