Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


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: 1,356
Uruguay

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

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

Best regards.
Alvaro.
thanks 2 users thanked Razonar for this useful post.
on 22/06/2020(UTC),  on 22/06/2020(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Razonar  
#2 Posted : 25 June 2020 07:26:33(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

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

svd_nr.pdf (123kb) downloaded 42 time(s).
svd_nr.sm (96kb) downloaded 32 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: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 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 23 time(s).
Maths SVD.sm (229kb) downloaded 29 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: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 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 36 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: 1,356
Uruguay

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

pinv.sm (92kb) downloaded 16 time(s).
pinv.pdf (169kb) downloaded 16 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: 1,356
Uruguay

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

pinv_svd.sm (162kb) downloaded 31 time(s).
pinv_svd.pdf (154kb) downloaded 32 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.