Can `rankUpdate!` be replaced by a 5-arg `mul!` method?

Open
#286 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia
Domain
performance

Research direction

Start by reading the generic rankdowndate! implementation and the existing mul! methods. Check whether a 5-argument mul! can express C := β .* C + α .* A * A' while short-circuiting the A * A' operation; done means the replacement preserves the operation without unnecessary intermediate computation.

Written by the indexing model from the issue text.

Description

enhancement

At present the generic rankdowndate! performs the C := β .* C + α .* A * A' operation. This could be written as a 5-argument mul! method but we probably want to check that the A * A' operation is properly short-circuited if we do so.

Dominant language
Julia
Stars
455
Forks
51
Avg merge
3d 15h
Merged PRs (30d)
4

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from JuliaStats/MixedModels.jl

All issues in JuliaStats/MixedModels.jl

Similar issues

More Julia issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.