MATLAB BUILDER JA 2 Podręcznik Użytkownika Strona 254

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 253
5 Sample Applications (Java)
0 1.5000 -1.0000 0
0 0 1.3333 -1.0000
0 0 0 1.2500
QR factorization:
Q matrix:
-0.8944 -0.3586 -0.1952 0.1826
0.4472 -0.7171 -0.3904 0.3651
0 0.5976 -0.5855 0.5477
0 0 0.6831 0.7303
R matrix:
-2.2361 1.7889 -0.4472 0
0 -1.6733 1.9124 -0.5976
0 0 -1.4639 1.9518
0 0 0 0.9129
To run the same program for a sparse matrix, use the same command and add
the string
sparse to the command line:
java (... same arguments) getfactor 4 sparse
Output for a Sparse Matrix
Original matrix:
(1,1) 2
(2,1) -1
(1,2) -1
(2,2) 2
(3,2) -1
(2,3) -1
(3,3) 2
(4,3) -1
(3,4) -1
(4,4) 2
Cholesky factorization:
5-24
Przeglądanie stron 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag