boostorg / boostorg/ublas

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

Open
#185 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
122
Forks
151
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.