Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Razonar  
#1 Posted : 22 June 2020 08:14:35(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 487
Uruguay

Was thanked: 283 time(s) in 176 post(s)
Hi. Very short code. Singular Value Decomposition using QR decomposition.

svd.sm (60kb) downloaded 27 time(s).
svd.pdf (143kb) downloaded 32 time(s).

Best regards.
Alvaro.
thanks 2 users thanked Razonar for this useful post.
on 22/06/2020(UTC),  on 22/06/2020(UTC)
Offline Razonar  
#2 Posted : 25 June 2020 07:26:33(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 487
Uruguay

Was thanked: 283 time(s) in 176 post(s)
Singular Value Decomposition based on Numerical Recipes book. Faster and robust.

svd_nr.pdf (123kb) downloaded 16 time(s).
svd_nr.sm (96kb) downloaded 8 time(s).

Best regards.
Alvaro.

thanks 1 user thanked Razonar for this useful post.
on 25/06/2020(UTC)
Offline Jean Giraud  
#3 Posted : 25 June 2020 16:44:47(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 4,658
Canada

Was thanked: 791 time(s) in 627 post(s)
Originally Posted by: Razonar Go to Quoted Post
Singular Value Decomposition based on Numerical Recipes book. Faster and robust.

Thanks Alvaro ... OK all red SS 6179
I have no applications for the rectangular matrix.
Ultimately, all that stuff aims at solving singular square matrix,
2 examples Chemical Balance all done well.
Smath SVD can be used as well to sanity Greville.
Both documents take no time calculation.

Maths Pseudo Greville.sm (88kb) downloaded 7 time(s).
Maths SVD.sm (229kb) downloaded 10 time(s).

thanks 1 user thanked Jean Giraud for this useful post.
on 26/06/2020(UTC)
Offline Jean Giraud  
#4 Posted : 26 June 2020 17:11:10(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 4,658
Canada

Was thanked: 791 time(s) in 627 post(s)
Originally Posted by: Razonar Go to Quoted Post
Singular Value Decomposition based on Numerical Recipes book. Faster and robust.

Complete sanity vs Smath built-in SVD ... hyper fast.
Thanks Alvaro for sharing your great programming skill.

Maths svd.nr.sm (95kb) downloaded 14 time(s).
Offline Razonar  
#5 Posted : 11 July 2020 06:16:47(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 487
Uruguay

Was thanked: 283 time(s) in 176 post(s)
Pseudo inverse, but not based in the previous SVD.

pinv.sm (92kb) downloaded 3 time(s).
pinv.pdf (169kb) downloaded 3 time(s).

Best regards.
Alvaro.



thanks 1 user thanked Razonar for this useful post.
on 11/07/2020(UTC)
Offline Razonar  
#6 Posted : 11 July 2020 06:52:03(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 487
Uruguay

Was thanked: 283 time(s) in 176 post(s)
Pseudo inverse, based in the previous (improved) SVD.

pinv_svd.sm (162kb) downloaded 6 time(s).
pinv_svd.pdf (154kb) downloaded 3 time(s).

Best regards.
Alvaro.
thanks 1 user thanked Razonar for this useful post.
on 11/07/2020(UTC)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.