Skip to content

Add optional class parameter to ones and filled#189

Open
JozsefKutas wants to merge 6 commits intolessthanoptimal:SNAPSHOTfrom
JozsefKutas:optional-class-parameter
Open

Add optional class parameter to ones and filled#189
JozsefKutas wants to merge 6 commits intolessthanoptimal:SNAPSHOTfrom
JozsefKutas:optional-class-parameter

Conversation

@JozsefKutas
Copy link

This adds overloads of SimpleMatrix#ones and SimpleMatrix#filled with an optional class parameter. This is roughly consistent with SimpleMatrix#identity and SimpleMatrix#diag.

This PR follows from #188 - the two overlap, so it didn't seem to make sense to separate them. I can separate this if there are problems with #188.

@lessthanoptimal
Copy link
Owner

Ok got the first PR down. Can you rebase and resolve the conflict?

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