Skip to content
Prev 389157 / 398506 Next

Fastest way to extract rows of smaller matrix many times by index to make larger matrix? and multiply columsn of matrix by vector

That is about as fast as it can be done. However you may be able to avoid doing it at all if you fold V2 into a matrix instead. Did you mean to use matrix multiplication in your calculation of M3?
On September 13, 2021 11:48:48 PM PDT, nevil amos <nevil.amos at gmail.com> wrote: