Re: Question on code usage

Markus Mützel <[email protected]> Fri, 6 May 2022 12:45:50 +0200
Newsgroups gmane.comp.gnu.octave.general
Message-ID <trinity-5e393aec-76c4-4912-9ce9-27f36c71456b-1651833950559@3c-app-gmx-bs51>
Am 05. Mai 2022 um 15:17 Uhr schrieb "John Ferreira":
> Hello,
> I have legacy C software that was using an older version of Octave. I have updated to the newest version of octave and I am trying to fix deprecation related errors. Previous matrix code was:
> Matrix a(3,1,1);
> SVD norm(a.transpose());
> Return norm.singular_values();
>
> However it seems SVD is deprecated in 8.0.0
>
> What is the correct way to get the SVD singular values with the new version?
>
> Thank you,
> John F


It's not entirely clear what `SVD` was from the portion of the code you are showing. But I guess that'll probably be `octave::math::svd` now.

HTH,
Markus



----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help