in reply to PDL & Math::MatrixReal

As ++hippo said, you cannot use the methods from one completely separate object type on another.

If you are using PDL, so your data is already in that form, then you should use PDL methods... and PDL has a plethora of matrix operations, as matrices are one of its primary reasons for existing. For example, I think that eigens_sym or eigens is mostly likely going to give you the information you want.

Replies are listed 'Best First'.
Re^2: PDL & Math::MatrixReal
by etj (Priest) on Nov 06, 2021 at 16:46 UTC
    There is a PDL implementation of the Householder Method, but it's not on CPAN. I think you can install it using:
    cpanm https://github.com/run4flat/PDL-Fit-OO.git
    but I haven't tried it.