08-Jan-2022 10:59:14 vandermonde_test(): MATLAB/Octave version 9.8.0.1380330 (R2020a) Update 2. Test vandermonde(). bivand1_test(): bivand1() computes a bidimensional Vandermonde matrix associated with the total degree polynomials of degree less than N. Vandermonde vector ALPHA: 1: 1 2: 2 3: 3 Vandermonde vector BETA: 1: 10 2: 20 3: 30 Bidimensional Vandermonde matrix: Col: 1 2 3 4 5 Row 1 : 1 1 1 1 1 2 : 1 2 3 1 2 3 : 10 10 10 20 20 4 : 1 4 9 1 4 5 : 10 20 30 20 40 6 : 100 100 100 400 400 Col: 6 Row 1 : 1 2 : 1 3 : 30 4 : 1 5 : 30 6 : 900 bivand2_test(): bivand2() computes a bidimensional Vandermonde matrix associated with the product polynomials of maximum degree less than N. Vandermonde vector ALPHA: 1: 1 2: 2 3: 3 Vandermonde vector BETA: 1: 10 2: 20 3: 30 i = 0 Bidimensional Vandermonde matrix: Col: 1 2 3 4 5 Row 1 : 1 1 1 1 1 2 : 1 2 3 1 2 3 : 1 4 9 1 4 4 : 10 10 10 20 20 5 : 10 20 30 20 40 6 : 10 40 90 20 80 7 : 100 100 100 400 400 8 : 100 200 300 400 800 9 : 100 400 900 400 1600 Col: 6 7 8 9 Row 1 : 1 1 1 1 2 : 3 1 2 3 3 : 9 1 4 9 4 : 20 30 30 30 5 : 60 30 60 90 6 : 180 30 120 270 7 : 400 900 900 900 8 : 1200 900 1800 2700 9 : 3600 900 3600 8100 dvand_test: dvand() solves a Vandermonde linear system A'*x=b Vandermonde vector ALPHA: 1: 0 2: 1 3: 2 4: 3 5: 4 Right hand side B: 1: 5 2: 15 3: 67 4: 239 5: 657 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 Vandermonde vector ALPHA: 1: 0.814724 2: 0.905792 3: 0.126987 4: 0.913376 5: 0.632359 Right hand side B: 1: 11.5213 2: 13.0887 3: 5.44803 4: 13.2311 5: 9.06926 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 dvandprg_test(): dvandprg() solves a Vandermonde linear system A'*x=b progressively. First we use ALPHA = 0, 1, 2, 3, 4. Then we choose ALPHA at random. Vandermonde vector ALPHA: 1: 0 2: 1 3: 2 4: 3 5: 4 Right hand side B: 1: 5 2: 15 3: 67 4: 239 5: 657 Solution X: 1: 5 Solution X: 1: 5 2: 10 Solution X: 1: 5 2: -11 3: 21 Solution X: 1: 5 2: 15 3: -18 4: 13 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 Vandermonde vector ALPHA: 1: 0.0975404 2: 0.278498 3: 0.546882 4: 0.957507 5: 0.964889 Right hand side B: 1: 5.33179 2: 6.17937 3: 8.17942 4: 14.0988 5: 14.2506 Solution X: 1: 5.33179 Solution X: 1: 4.87492 2: 4.68388 Solution X: 1: 5.04228 2: 2.36716 3: 6.16086 Solution X: 1: 4.97155 2: 3.47555 3: 1.76697 4: 4.76085 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 pvand_test(): pvand() solves a Vandermonde linear system A*x=b Vandermonde vector ALPHA: 1: 0 2: 1 3: 2 4: 3 5: 4 Right hand side B: 1: 15 2: 22 3: 60 4: 190 5: 660 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 Vandermonde vector ALPHA: 1: 0.157613 2: 0.970593 3: 0.957167 4: 0.485376 5: 0.80028 Right hand side B: 1: 15 2: 9.61445 3: 8.13152 4: 7.40975 5: 6.89877 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 pvandprg_test(): pvandprg() solves a Vandermonde linear system A*x=b progressively. First we use ALPHA = 0, 1, 2, 3, 4. Then we choose ALPHA at random. Vandermonde vector ALPHA: 1: 0 2: 1 3: 2 4: 3 5: 4 Right hand side B: 1: 15 2: 22 3: 60 4: 190 5: 660 Solution X: 1: 15 Solution X: 1: -7 2: 22 Solution X: 1: 12 2: -16 3: 19 Solution X: 1: 3 2: 11 3: -8 4: 9 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 Vandermonde vector ALPHA: 1: 0.141886 2: 0.421761 3: 0.915736 4: 0.792207 5: 0.959492 Right hand side B: 1: 15 2: 8.34885 3: 6.45744 4: 5.57484 5: 4.99874 Solution X: 1: 15 Solution X: 1: -7.22619 2: 22.2262 Solution X: 1: 5.00599 2: 3.06352 3: 6.93049 Solution X: 1: 4.94411 2: 3.23371 3: 7.11508 4: -0.292906 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 vandermonde_test(): Normal end of execution. 08-Jan-2022 10:59:14