18-Feb-2019 19:12:07 vandermonde_test MATLAB version. Test vandermonde. BIVAND1_TEST: Compute 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: Compute 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: Solve 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.837159 2: 0.197953 3: 0.429866 4: 0.0306879 5: 0.0292539 Right hand side B: 1: 11.8839 2: 5.76143 3: 7.17646 4: 5.09586 5: 5.09121 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 DVANDPRG_TEST: Solve 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.490269 2: 0.411639 3: 0.0590548 4: 0.109907 5: 0.479494 Right hand side B: 1: 7.66565 2: 7.03988 3: 5.19134 4: 5.37966 5: 7.5741 Solution X: 1: 7.66565 Solution X: 1: 3.76386 2: 7.95848 Solution X: 1: 5.03482 2: 2.27852 3: 6.29771 Solution X: 1: 4.99738 2: 3.07991 3: 3.27861 4: 3.14174 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 PVAND_TEST: Solve 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.670152 2: 0.60874 3: 0.716877 4: 0.0834378 5: 0.0695016 Right hand side B: 1: 15 2: 8.26693 3: 5.42948 4: 3.65647 5: 2.47694 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 PVANDPRG_TEST: Solve 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.631222 2: 0.509809 3: 0.729825 4: 0.45099 5: 0.0576966 Right hand side B: 1: 15 2: 8.17122 3: 5.11255 4: 3.30209 5: 2.17266 Solution X: 1: 15 Solution X: 1: 4.31656 2: 10.6834 Solution X: 1: -47.1359 2: 33.7426 3: 28.3933 Solution X: 1: 115.779 2: -189.981 3: -29.7172 4: 118.919 Solution X: 1: 5 2: 3 3: 4 4: 1 5: 2 vandermonde_test Normal end of execution. 18-Feb-2019 19:12:07