Skip to content

subMatrix method for Matrix Math Objects#1424

Open
Alex-Jordan wants to merge 3 commits into
openwebwork:PG-2.21from
Alex-Jordan:subMatrix
Open

subMatrix method for Matrix Math Objects#1424
Alex-Jordan wants to merge 3 commits into
openwebwork:PG-2.21from
Alex-Jordan:subMatrix

Conversation

@Alex-Jordan
Copy link
Copy Markdown
Contributor

Here is another one from #1076. This one is ripped directly from #1076, and I committed it as @pstaabp's commit. Only change I made was to move the auxiliary subroutine extractElements inside this method. I don't see a need to make that accessible as a method, but you can let me know if it should be.

@Alex-Jordan
Copy link
Copy Markdown
Contributor Author

I've discovered a few issues with this. Pausing the PR until I make a few corrections.

@Alex-Jordan Alex-Jordan marked this pull request as draft May 28, 2026 05:03
@Alex-Jordan
Copy link
Copy Markdown
Contributor Author

Now three commits total. The first is basically @pstaabp's code from #1076 for subMatrix. There were some issues to fix, and also I extended the method's functionality, and this is all in the second commit. The third commit is adding removeRow and removeColumn, which just call subMatrix in the appropriate way. This can be reviewed now.

@Alex-Jordan Alex-Jordan marked this pull request as ready for review May 28, 2026 17:58
Copy link
Copy Markdown
Member

@pstaabp pstaabp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for looking back to that PR to include these.

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

Successfully merging this pull request may close these issues.

2 participants