BallisticLA / RandBLAS

A header-only C++ library for sketching in randomized linear algebra
https://randblas.readthedocs.io/en/stable/
Other
75 stars 6 forks source link

Memory management in lskge3 and rskge3 #49

Closed rileyjmurray closed 1 year ago

rileyjmurray commented 1 year ago

This PR is a small adjustment to memory management implementation for lskge3 and rskge3. We can now say that we don't attach dynamically-sized memory to sketching operators inside sketching functions. Sketching operators still can't be const in these functions because we need to assign their next_state attribute if we sample their contents in the function.