15-May-2025 20:34:03 r8lt_test() MATLAB/Octave version 6.4.0 Test r8lt(). r8ge_to_r8lt_test(): r8ge_to_r8lt() converts an R8GE matrix to R8LT format. The random R8GE matrix: Col: 1 2 3 4 Row --- 1 0.14605 0.565519 0.137942 0.388272 2 0.849318 0.56691 0.464162 0.808654 3 0.16114 0.731014 0.400496 0.781903 4 0.666271 0.839759 0.815414 0.142438 5 0.882166 0.637619 0.94322 0.81983 The R8LT matrix: Col: 1 2 3 4 Row --- 1 0.14605 2 0.849318 0.56691 3 0.16114 0.731014 0.400496 4 0.666271 0.839759 0.815414 0.142438 5 0.882166 0.637619 0.94322 0.81983 r8lt_det_test(): r8lt_det() computes the determinant of an R8LT matrix The matrix A: Col: 1 2 3 4 5 Row --- 1 0.0216813 2 0.887002 0.95088 3 0.191138 0.889951 0.223382 4 0.0490638 0.918591 0.173705 0.619484 5 0.588125 0.450066 0.0918767 0.557849 0.0981608 Determinant is 0.000280045 r8lt_indicator_test(): r8lt_indicator() sets up an indicator matrix in R8LT format; The R8LT indicator matrix: Col: 1 2 3 4 5 Row --- 1 11 2 21 22 3 31 32 33 4 41 42 43 44 5 51 52 53 54 55 6 61 62 63 64 65 r8lt_inverse_test(): r8lt_inverse() computes the inverse of an R8LT matrix. The matrix A: Col: 1 2 3 4 5 Row --- 1 0.040258 2 0.16598 0.596931 3 0.864075 0.075062 0.883802 4 0.973524 0.750285 0.987135 0.975627 5 0.398009 0.0213961 0.623828 0.0073375 0.930496 The inverse matrix B: Col: 1 2 3 4 5 Row --- 1 24.8398 2 -6.90685 1.67524 3 -23.6987 -0.142279 1.13147 4 4.50359 -1.14435 -1.14482 1.02498 5 5.3866 0.0658906 -0.749542 -0.00808258 1.0747 The product C = A * B: Col: 1 2 3 4 5 Row --- 1 1 2 0 1 3 0 0 1 4 0 0 0 1 5 0 6.93889e-18 0 0 1 r8lt_mm_test(): r8lt_mm() computes C = A * B for R8LT matrices. The matrix A: Col: 1 2 3 4 5 Row --- 1 1 2 1 1 3 1 1 1 4 1 1 1 1 5 1 1 1 1 1 The product C = A * A Col: 1 2 3 4 5 Row --- 1 1 2 2 1 3 3 2 1 4 4 3 2 1 5 5 4 3 2 1 r8lt_mtm_test(): r8lt_mtm() computes C = A' * B for R8LT matrices. The matrix A: Col: 1 2 3 4 5 Row --- 1 1 2 1 1 3 1 1 1 4 1 1 1 1 5 1 1 1 1 1 The product C = A' * A Col: 1 2 3 4 5 Row --- 1 5 4 3 2 1 2 4 4 3 2 1 3 3 3 3 2 1 4 2 2 2 2 1 5 1 1 1 1 1 r8lt_mtv_test(): r8lt_mtv() computes A'*x for an R8LT matrix. The matrix A: Col: 1 2 3 4 Row --- 1 11 2 21 22 3 31 32 33 4 41 42 43 44 5 51 52 53 54 The vector x 1: 1 2: 2 3: 3 4: 4 5: 5 b = A'*x: 1: 565 2: 568 3: 536 4: 446 r8lt_mv_test(): r8lt_mv() computes A*x for an R8LT matrix. The matrix A: Col: 1 2 3 4 Row --- 1 11 2 21 22 3 31 32 33 4 41 42 43 44 5 51 52 53 54 The vector x 1: 1 2: 2 3: 3 4: 4 b = A*x: 1: 11 2: 65 3: 194 4: 430 5: 530 r8lt_print_test(): r8lt_print() prints an R8LT matrix; The R8LT matrix: Col: 1 2 3 4 5 Row --- 1 11 2 21 22 3 31 32 33 4 41 42 43 44 5 51 52 53 54 55 6 61 62 63 64 65 r8lt_print_some_test(): r8lt_print_some() prints some of an R8LT matrix; Rows 2-3, Cols 2-4: Col: 2 3 4 Row --- 2 22 3 32 33 r8lt_random_test(): r8lt_random() randomizes an R8LT matrix; The random R8LT matrix: Col: 1 2 3 4 5 Row --- 1 0.753047 2 0.168164 0.171337 3 0.0206717 0.0525043 0.632309 4 0.394285 0.831722 0.423418 0.969032 5 0.566276 0.348953 0.0412863 0.314956 0.646241 6 0.690492 0.146688 0.0735392 0.77333 0.532112 r8lt_sl_test(): r8lt_sl() solves A*x=b for an R8LT matrix A. The R8LT matrix: Col: 1 2 3 4 5 Row --- 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 Solution: 1: 1 2: 2 3: 3 4: 4 5: 5 r8lt_slt_test(): r8lt_slt() solves A'*x=b for an R8LT matrix A The R8LT matrix: Col: 1 2 3 4 5 Row --- 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 1 2 3 4 5 Solution to transposed system: 1: 1 2: 2 3: 3 4: 4 5: 5 r8lt_to_r8ge_test(): r8lt_to_r8ge() converts an R8LT matrix to R8GE format. The random R8LT matrix: Col: 1 2 3 4 Row --- 1 0.926536 2 0.470677 0.917696 3 0.532249 0.108468 0.751019 4 0.934322 0.114259 0.00515009 0.620631 5 0.550665 0.607771 0.391292 0.230293 The R8GE matrix Col: 1 2 3 4 Row --- 1 0.926536 0 0 0 2 0.470677 0.917696 0 0 3 0.532249 0.108468 0.751019 0 4 0.934322 0.114259 0.00515009 0.620631 5 0.550665 0.607771 0.391292 0.230293 r8lt_zeros_test(): r8lt_zeros() zeros out space for an R8LT matrix. Matrix order M, N = 5, 4 Matrix A: Col: 1 2 3 4 Row --- 1 0 2 0 0 3 0 0 0 4 0 0 0 0 5 0 0 0 0 r8lt_test(): Normal end of execution. 15-May-2025 20:34:03