Skip to content

Matrix exponential - optimization #69

@bmcdanie

Description

@bmcdanie

From @efdazedo :

I think computing matrix exponential may require full eigen decomposition of the matrix.

Expm(A) can be computed as

inv(V) * diag( exp( lambda(i) ) * V, where inv(V) * diag( lambda(i) ) * V is the eigen decomposition of matrix A

Thus, if the matrix is the same or the eigenvectors are the same and eigen values change in a known manner, then one may consider precomputing and reusing the already computed value of expm(A*dt) or the eigen decomposition (in line 211).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions