lbfm-rwth / GaussParallel

https://lbfm-rwth.github.io/GaussParallel/
GNU General Public License v2.0
2 stars 5 forks source link

Use CopySubMatrix instead of A{..}{..} := #187

Closed ssiccha closed 5 years ago

ssiccha commented 5 years ago

For compressed matrices the function CopySubMatrix is a lot more efficient. In contrast to the not optimized A{..}{..} := it avoids creating intermediate objects.

Be careful with the ordering of its arguments though. It's pretty horrible.

jnkbrachter commented 5 years ago

Fixed by #216