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

Matrices should be represented in row-major format #58

Open
alvarohm opened this issue Jun 20, 2022 · 2 comments
Open

Matrices should be represented in row-major format #58

alvarohm opened this issue Jun 20, 2022 · 2 comments
Assignees

Comments

@alvarohm
Copy link
Contributor

The syntax will be more intuitive.

The metamodel. syntax and semantics need to be changed.

This replaces issue #51

@alvarohm
Copy link
Contributor Author

To be consistent with matlab and numpy, vector will be row-vectors by default. If a column vector is desired, a n-by-1 matrix is created.

row vector: [1,2,3]
column vector: [1;2;3]

@alvarohm
Copy link
Contributor Author

I have updated the metamodel, syntax and semantics. These are in new branches called row-major in each repository.

I have also checked that the robosim and physmod plugins remain compatible (by code inspection).

There is currently an issue with the declaration of core_int, which may introduce a cycle through the use of inner products.

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