-
Notifications
You must be signed in to change notification settings - Fork 3
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
colProds and rowProds should accept method= argument #7
Comments
Same for |
Similarly, Why not put these arguments in the generic so that they are guaranteed to be consistent across methods? |
I added the
that seemed like low-level optimization details specific for I am aware that this can be surprising, because it means that If I had to rank: I am fairly certain that Maybe we should rather discuss this in the
I am undecided what to do about this one, because currently I am relying on my own |
All types expect for type = 7L (ie. the default) are calculated very inefficiently, but expanding each column to a dense vector This fixes the last open bit of #7
Okay, I decided that I am fine for now with densifying each column if I opened a PR at Bioconductor/MatrixGenerics#14 to include |
I also realized why If the generic would look like this:
The code fails because the If the However, I could also be missing something here, so if there is a possibility to include |
An expedient solution might be to swap the order of |
Good point, but I worry that this would be even more surprising. |
Seems like the choice is between that of developer-level surprise, where we have to make sure that the call inside |
Even if it doesn't do anything with them. Just add a
...
to both method definitions so that they don't throw when someone passes inmethod=
in a generic.The text was updated successfully, but these errors were encountered: