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

Mat m n instead of Mat n m? #3

Open
ShreckYe opened this issue Jun 13, 2021 · 1 comment
Open

Mat m n instead of Mat n m? #3

ShreckYe opened this issue Jun 13, 2021 · 1 comment

Comments

@ShreckYe
Copy link

By convention, in saying an m × n matrix the m comes before the n, where m denotes the number of rows and n denotes the number of columns.

In PartI/src/Exercises/IndexedEx.ard the matrix is defined as \func Mat (A : \Type) (n m : Nat) : \Type and used as Mat n m. Would it better to change it to \func Mat (A : \Type) (m n : Nat) : \Type and Mat m n?

@ice1000
Copy link
Member

ice1000 commented Jun 14, 2021

Do you want to make a pull request? I guess we used this order since n and m on the keyboard appear to be in this order, but I'm not sure. Maybe @part-xx knows better than me.

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

2 participants