Same method for different class

Hi, I am using MathNet.Numerics.LinearAlgebra.Single and MathNet.Numerics.LinearAlgebra.Complex, since I have Matrix and Matrix in my code.

But when I define “Matrix = new DenseMatrix(order)” it gives me error saying ambiguous reference for DenseMatrix. What should I do for my case?

What you want to do?