let m = (3><4) [1..] :: Matrix Double
let w = 4 |> [2,0,-3,0::Double]
m <> w
However, on my machine, this now returns
"Couldn't match expected type: Matrix Double with actual type: Vector Double
In the second argument of ‘(Numeric.LinearAlgebra.<>)’, namely ‘w’"
And in the hackage docs, I found out that it should read
m #> w
Transpose
In the PDF, it reads trans m but the command is now tr m.
Perhaps someone could correct that and recompile the PDF for other newcomers?
In the PDF of the hmatrix tutorial are a few things that need to be updated
However, on my machine, this now returns "Couldn't match expected type: Matrix Double with actual type: Vector Double In the second argument of ‘(Numeric.LinearAlgebra.<>)’, namely ‘w’"
And in the hackage docs, I found out that it should read
trans m
but the command is nowtr m
.Perhaps someone could correct that and recompile the PDF for other newcomers?