Singular Value Decomposition.

Singular Value Decomposition. - Messaggi

#1 Pubblicato: 22/06/2020 02:14:35
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

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

svd.sm (59,92 KiB) scaricato 1477 volta(e).
svd.pdf (142,85 KiB) scaricato 982 volta(e).

Best regards.
Alvaro.
2 utenti hanno apprezzato questo post
frapuano 22/06/2020 04:16:00, sergio 22/06/2020 05:00:00
#2 Pubblicato: 25/06/2020 01:26:33
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

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

svd_nr.pdf (122,43 KiB) scaricato 853 volta(e).
svd_nr.sm (95,26 KiB) scaricato 1411 volta(e).

Best regards.
Alvaro.

1 utenti hanno apprezzato questo post
frapuano 25/06/2020 01:37:00
#3 Pubblicato: 25/06/2020 10:44:47
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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,79 KiB) scaricato 1445 volta(e).
Maths SVD.sm (228,82 KiB) scaricato 1487 volta(e).

1 utenti hanno apprezzato questo post
Alvaro 25/06/2020 23:01:00
#4 Pubblicato: 26/06/2020 11:11:10
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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,98 KiB) scaricato 1503 volta(e).
#5 Pubblicato: 11/07/2020 00:16:47
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Pseudo inverse, but not based in the previous SVD.

pinv.sm (91,35 KiB) scaricato 1400 volta(e).
pinv.pdf (168,98 KiB) scaricato 939 volta(e).

Best regards.
Alvaro.



1 utenti hanno apprezzato questo post
frapuano 11/07/2020 05:45:00
#6 Pubblicato: 11/07/2020 00:52:03
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

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

pinv_svd.sm (161,03 KiB) scaricato 1448 volta(e).
pinv_svd.pdf (153,64 KiB) scaricato 898 volta(e).

Best regards.
Alvaro.
1 utenti hanno apprezzato questo post
frapuano 11/07/2020 05:45:00
  • Nuovi post
  • Nessun nuovo post