some matrix methods only defined on M[Double]