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

Shape of 1d arrays #20

Open
JimHokanson opened this issue Sep 17, 2017 · 1 comment
Open

Shape of 1d arrays #20

JimHokanson opened this issue Sep 17, 2017 · 1 comment

Comments

@JimHokanson
Copy link
Owner

JimHokanson commented Sep 17, 2017

Currently in the parsing options we specify row and column major. We may however wish to have different rules between nd-arrays and 1d arrays.

Similar to the collapsing rules, let's have a 1d array rule which would be unique to data type (numnbers, strings, logicals) with the following rules:

  • 1 - row_vector
  • 2 - column vector
  • 3 - inherit (from column-major variable) (make default?)
@JimHokanson
Copy link
Owner Author

Just to clarify, the biggest issue with the current code is that column-major means that 1-d arrays default to columns instead of rows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant