This project has moved and is read-only. For the latest updates, please go here.

Issues with f# sample code

Jul 19, 2014 at 12:05 AM
Hi all,
I'm attempting to run this sample code copied from in the VS interactive window. The code returns the following error:
The type referenced through 'MathNet.Numerics.LinearAlgebra.Matrix`1' is defined in an assembly that is not referenced. You must add a reference to assembly 'MathNet.Numerics'.
Any thoughts on what is going wrong? The dlls were acquired through nuget. They are version 3.0.2.
#r @"C:\path_to_dlls\MathNet.Numerics.dll"
#r @"C:\path_to_dlls\Mathnet.Numerics.FSharp.dll"
open MathNet.Numerics
open MathNet.Numerics.LinearAlgebra
open MathNet.Numerics.LinearAlgebra.Double

let m : Matrix<float> = DenseMatrix.randomStandard 50 50
(m * m.Transpose()).Determinant()
Jul 20, 2014 at 10:16 AM
The NuGet package contains builds for multiple platforms. Which one did you reference? Sounds a bit as if the .Net 3.5 assemblies had been referenced.