- ago
I noticed the Math.NET install is not included in any of the WL8 builds up to Build 4. Math.NET was included with the WL7 installs, but it was version 4.15.0, which wasn't for .NET 6.X. However, there's a new Math.NET version 5.0.0 and it includes a build for .NET 6.0.

However, this new 5.0.0 version is a major release and employs some of the new C# compiler constructs. You may need to modify your code slightly (but as a WL user, you're already use to that). For example, Fit.Line(...) use to return a Tuple<>. Now it returns a double pair.
CODE:
(double b, double m) = Fit.Line(xValues, yValues); //Tuple<double,double> p = Fit.Line(xValues, yValues); return m; //rtn slope component
The Math.NET documentation hasn't been updated to reflect these changes, https://numerics.mathdotnet.com/Regression.html but one can trust IntelliSense or the VS Object Browser to display the updated syntax correctly. Happy computing.
1
541
Solved
1 Replies

Reply

Bookmark

Sort
- ago
#1
If WL7 included Math.Net that probably was to support Neuro-Lab's SharpLearning dependency library. Since WL8's N-L is based on Encog and no longer on SharpLearning, Math.Net is not included in the installation package.
1
Best Answer

Reply

Bookmark

Sort