Singular Value Decomposition.

Singular Value Decomposition. - Messages

#1 Posted: 6/22/2020 2:14:35 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Hi. Very short code. Singular Value Decomposition using QR decomposition.

svd.sm (59 KiB) downloaded 114 time(s).
svd.pdf (142 KiB) downloaded 125 time(s).

Best regards.
Alvaro.
2 users liked this post
frapuano 6/22/2020 4:16:00 AM, sergio 6/22/2020 5:00:00 AM
#2 Posted: 6/25/2020 1:26:33 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Singular Value Decomposition based on Numerical Recipes book. Faster and robust.

svd_nr.pdf (122 KiB) downloaded 95 time(s).
svd_nr.sm (95 KiB) downloaded 83 time(s).

Best regards.
Alvaro.

1 users liked this post
frapuano 6/25/2020 1:37:00 AM
#3 Posted: 6/25/2020 10:44:47 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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 (87 KiB) downloaded 85 time(s).
Maths SVD.sm (228 KiB) downloaded 89 time(s).

1 users liked this post
Alvaro Diaz Falconi 6/25/2020 11:01:00 PM
#4 Posted: 6/26/2020 11:11:10 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

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 (94 KiB) downloaded 87 time(s).
#5 Posted: 7/11/2020 12:16:47 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Pseudo inverse, but not based in the previous SVD.

pinv.sm (91 KiB) downloaded 61 time(s).
pinv.pdf (168 KiB) downloaded 64 time(s).

Best regards.
Alvaro.



1 users liked this post
frapuano 7/11/2020 5:45:00 AM
#6 Posted: 7/11/2020 12:52:03 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1675 posts.

Group: User

Pseudo inverse, based in the previous (improved) SVD.

pinv_svd.sm (161 KiB) downloaded 89 time(s).
pinv_svd.pdf (153 KiB) downloaded 84 time(s).

Best regards.
Alvaro.
1 users liked this post
frapuano 7/11/2020 5:45:00 AM
  • New Posts New Posts
  • No New Posts No New Posts