Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

QR Decomposition not caching work intensive properties #882

@CatchemAL

Description

@CatchemAL

The LuDecomposition and CholeskyDecomposition classes expose properties with a simple Lazy evaluation pattern on the factored matrices. The QrDecomposition does not do this. Any unsuspecting user attempting to iterate through, say, the UpperTriangleFactor directly is in for a nasty shock as the matrix could potentially be rebuilt thousands of times.

Propose lazy cache on QR properties (or method call if caching undesirable). On phone but can post code snippet later if this is not clear. SVD has a few issues as well.

Thanks
Alex

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions