Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: Getting C# examples to compile in VS2012

$
0
0
Thanks Cristoph, that indeed takes things a bit further. I now get following build error: error CS0012: The type 'System.Numerics.Complex' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
However, if I add:
using MathNet.Numerics.LinearAlgebra.Complex;
error CS0104: 'DenseMatrix' is an ambiguous reference between 'MathNet.Numerics.LinearAlgebra.Double.DenseMatrix' and 'MathNet.Numerics.LinearAlgebra.Complex.DenseMatrix'

And besides, this does not solve the original error either. So the Complex include must be somewhere else. System.Numerics does not exist as an inlude.
The example doesn't provide any clues, so I am a bit at a loss.

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>