Hi,

I have a method that returns DenseMatrix:
def func(str: String): DenseMatrix = {
    ...
    ...
}

But I keep getting this error:
*class DenseMatrix takes type parameters*

I tried this too:
def func(str: String): DenseMatrix(Int, Int, Array[Double]) = {
    ...
    ...
}
But this gives me this error:
*'=' expected but '(' found*

Any possible fixes?

Reply via email to