I have an F# project that uses MathNet.Numerics for Linear Algebra routines.
I have placed the following code in an F# module:
module LinearAlgebra
open MathNet.Numerics
open MathNet.Numerics.LinearAlgebra.Double
open MathNet.Numerics.LinearAlgebra.Generic
Control.LinearAlgebraProvider <- new Algorithms.LinearAlgebra.Mkl.MklLinearAlgebraProvider()
But the times I am seeing for matrix multiplication remain the same whether I have this line of code enabled or commented out.
I have installed the Mkl provider NuGet package as described here: http://christoph.ruegg.name/blog/mathnet-numerics-with-native-linear-algebra.html
and have ensured that these two dlls are copied to the bin directory: libiomp5md.dll MathNet.Numerics.MKL.dll
Any ideas about how I can detect if the native provider is actually being used?