TomMaullin / BLMM

This repository contains all code for the BLMM toolbox.
19 stars 5 forks source link

Speeding up computation for multiple levels #3

Closed TomMaullin closed 4 years ago

TomMaullin commented 4 years ago

When a random factor contains many multiple levels, the code currently slows due to the for loops used in the calculation of the covariance of dl/dDk and dl/dsigma, covariance of dl/dDk1 and dl/Dk2 and dl/dD itself. This can be resolved using matrix reshapes.

TomMaullin commented 4 years ago

This has now been implemented in #24