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

ublas::matrix::resize with preserve= true, can it be implemented without temporary storage? #185

Open
dmenendez-gruposantander opened this issue Jan 2, 2023 · 0 comments

Comments

@dmenendez-gruposantander

For ublas::matrix::resize(), when passing preserve=true (which is the default) the implementation is using temporary space to save the data that needs to be preserved.

I was wondering if this can be done without needing the temporary storage... and I think it is!

Do you think it is worth the extra code complexity?
Would you be willing to accept a PR?

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