Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better performance in lav_model_information #405

Merged
merged 1 commit into from
Dec 20, 2024
Merged

Conversation

lucdw
Copy link
Contributor

@lucdw lucdw commented Dec 19, 2024

Order of execution for t(A) %% B %% A better if last product is performed first and if A is sparse a transponation + use of m_prod is faster than use of m_crossprod. Check for n > 0 before calling lavaanC::m_diag_idx.

Order of execution for t(A) %*% B %*% A better if last product is performed first and if A is sparse a transponation + use of m_prod is faster the use of m_crossprod.
Check for n > 0 before calling lavaanC::m_diag_idx.
@yrosseel yrosseel merged commit e65e642 into yrosseel:master Dec 20, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants