Skip to content

plyapc returns a non-standard factorization #34

@JurajLieskovsky

Description

@JurajLieskovsky

I am a bit perplexed by the design choice of plyapc computing the upper triangular fractor U of the solution X = U U'.

Cholesky factorization typically computes the lower triangular factor L of matrix A such that A = L L'. The lyapchol function in matlab, which is according to the documentation uses the SLICOT SB03OD routine, computes the upper triangular factor U, where X = U' U. I am not sure if the function is just a wrapper or a re-implementation but I assume the original SLICOT routine also uses the same factorization of the result. The factorization is then of course consistent with the typical Cholesky factorization as L = U'.

So far I haven't run into any issues with this, but plyapc is definitely the odd man out. Additionally if plyapc used the typical U' U' or L L', it could directly return a Cholesky type as a result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions