Skip to content

Re-use eigenvalue/-vector storage arrays in RawEigenvalue.doDecomposeGeneral when applicable #33

@hanslovsky

Description

@hanslovsky

Currently, Vt, e, and d are created as new instances for every call to RawEigenvalue.doComposeGeneral:
https://github.com/optimatika/ojAlgo/blob/master/src/org/ojalgo/matrix/decomposition/RawEigenvalue.java#L1060-L1062
Creating new instances could be avoided by re-using these objects when applicable, i.e. matrix dimensions do not change.
As far as I can tell that would require an additional member variable to store the double[][] that is referenced by Vt in doDecomposeGeneral.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions