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

Support @MMatrix I(3) for identity matrix #1232

Open
3f6a opened this issue Jan 14, 2024 · 0 comments
Open

Support @MMatrix I(3) for identity matrix #1232

3f6a opened this issue Jan 14, 2024 · 0 comments

Comments

@3f6a
Copy link

3f6a commented Jan 14, 2024

Currently:

julia> @MMatrix I(3)
ERROR: LoadError: @MMatrix only supports the zeros(), ones(), fill(), rand(), randn(), and randexp() functions.

It would be nice to support @MMatrix I(n) for quick and efficient construction of statically sized identity matrix (and similarly for @SMatrix)

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