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

Identity matrix inserter for multiple rows #3

Open
dwysocki opened this issue Oct 3, 2014 · 0 comments
Open

Identity matrix inserter for multiple rows #3

dwysocki opened this issue Oct 3, 2014 · 0 comments

Comments

@dwysocki
Copy link
Member

dwysocki commented Oct 3, 2014

Expand diagonalizer.r to insert multiple copies of the identity matrix. Right now it inserts an nxn identity matrix when given an nxm table. Add an optional argument to provide the n used for the identity matrix as a parameter, and if n is less than the number of rows, repeat the identity matrix multiple times vertically. If n does not divide the number of rows, throw an error.

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