Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation PDF File requires update #362

Open
l8l opened this issue Aug 21, 2022 · 0 comments
Open

Documentation PDF File requires update #362

l8l opened this issue Aug 21, 2022 · 0 comments

Comments

@l8l
Copy link

l8l commented Aug 21, 2022

In the PDF of the hmatrix tutorial are a few things that need to be updated

  1. Matrix-Vector Product
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 
  1. 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?

@l8l l8l changed the title Documentation Matrix-Vector product Documentation PDF File requires update Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant