mathnet / mathnet-numerics

Math.NET Numerics
http://numerics.mathdotnet.com
MIT License
3.49k stars 897 forks source link

F# Interactive not calling properly #537

Open hasanOryx opened 6 years ago

hasanOryx commented 6 years ago

Attached print sceen of the way I linked my interactive .fsx file to Math.Net there is a red line that shows an error in calling open MathNet.Numerics.LinearAlgebra

1

Moreover, while calling functions in the open MathNet.Numerics.Statistics as below I got another error as shown under the code:

let sX = ArrayStatistics.StandardDeviation x
let sY = ArrayStatistics.StandardDeviation y

The type 'Object' is required here and is unavailable. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

cdrnet commented 6 years ago

It sounds a bit like a framework/runtime mismatch.

It is possible that the provided MathNet.Numerics.fsx doesn't work properly in this kind of setup (i.e. without using NuGet or Paket) - you may want to copy over locally what you need.