Skip to content

Cholesky Update #1346

Description

@Deduction42

There's a couple of functions in LinearAlgebra.jl around updating Cholesky decompositions:

  • lowrankupdate!
  • lowrandowndate!

You can find them starting here:
https://github.com/JuliaLang/LinearAlgebra.jl/blob/27b0f1321777fd2f935b8b9f1cefc61e12114b29/src/cholesky.jl#L882

This looks like a lot of mutating code, but would it be possible to use Accessors.jl to emulate this mutating behaviour? The annoying thing about lowrankupdate! is that it destroys the input vector, so the non-mutating versions lowrankupdate have to copy everything (hence allocations). Being able to get this to work for StaticArrays allows me to bypass these allocations and wierd side-effects. How feasible do you think this is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions