20 March 2018 1:22:33.870 PM VANDERMONDE_TEST FORTRAN90 version. Test the VANDERMONDE library. BIVAND1_TEST: Compute a bidimensional Vandermonde matrix associated with polynomials of total degree < N. Vandermonde vector ALPHA: 1: 1.0000000 2: 2.0000000 3: 3.0000000 Vandermonde vector BETA: 1: 10.000000 2: 20.000000 3: 30.000000 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 polynomials of maximum degree < N. Vandermonde vector ALPHA: 1: 1.0000000 2: 2.0000000 3: 3.0000000 Vandermonde vector BETA: 1: 10.000000 2: 20.000000 3: 30.000000 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.0000000 2: 1.0000000 3: 2.0000000 4: 3.0000000 5: 4.0000000 Right hand side B: 1: 5.0000000 2: 15.000000 3: 67.000000 4: 239.00000 5: 657.00000 Solution X: 1: 5.0000000 2: 3.0000000 3: 4.0000000 4: 1.0000000 5: 2.0000000 Vandermonde vector ALPHA: 1: 0.21841830 2: 0.95631758 3: 0.82950923 4: 0.56169544 5: 0.41530708 Right hand side B: 1: 5.8610529 2: 14.074499 3: 11.758567 4: 8.3233921 5: 7.0669720 Solution X: 1: 5.0000000 2: 3.0000000 3: 4.0000000 4: 1.0000000 5: 2.0000000 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.0000000 2: 1.0000000 3: 2.0000000 4: 3.0000000 5: 4.0000000 Right hand side B: 1: 5.0000000 2: 15.000000 3: 67.000000 4: 239.00000 5: 657.00000 Solution X: 1: 5.0000000 Solution X: 1: 5.0000000 2: 10.000000 Solution X: 1: 5.0000000 2: -11.000000 3: 21.000000 Solution X: 1: 5.0000000 2: 15.000000 3: -18.000000 4: 13.000000 Solution X: 1: 5.0000000 2: 3.0000000 3: 4.0000000 4: 1.0000000 5: 2.0000000 Vandermonde vector ALPHA: 1: 0.21841830 2: 0.95631758 3: 0.82950923 4: 0.56169544 5: 0.41530708 Right hand side B: 1: 5.8610529 2: 14.074499 3: 11.758567 4: 8.3233921 5: 7.0669720 Solution X: 1: 5.8610529 Solution X: 1: 3.4298717 2: 11.130849 Solution X: 1: 5.8677991 2: -2.5801731 3: 11.671579 Solution X: 1: 4.8053550 2: 4.6758751 3: -0.61821371 4: 6.1318811 Solution X: 1: 5.0000000 2: 3.0000000 3: 4.0000000 4: 1.0000000 5: 2.0000000 PVAND_TEST: Solve a Vandermonde linear system A*x=b Vandermonde vector ALPHA: 1: 0.0000000 2: 1.0000000 3: 2.0000000 4: 3.0000000 5: 4.0000000 Right hand side B: 1: 15.000000 2: 22.000000 3: 60.000000 4: 190.00000 5: 660.00000 Solution X: 1: 5.0000000 2: 3.0000000 3: 4.0000000 4: 1.0000000 5: 2.0000000 Vandermonde vector ALPHA: 1: 0.21841830 2: 0.95631758 3: 0.82950923 4: 0.56169544 5: 0.41530708 Right hand side B: 1: 15.000000 2: 8.6713908 3: 6.3949667 4: 5.2794550 5: 4.5734350 Solution X: 1: 5.0000000 2: 3.0000000 3: 4.0000000 4: 1.0000000 5: 2.0000000 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.0000000 2: 1.0000000 3: 2.0000000 4: 3.0000000 5: 4.0000000 Right hand side B: 1: 15.000000 2: 22.000000 3: 60.000000 4: 190.00000 5: 660.00000 Solution X: 1: 15.000000 Solution X: 1: -7.0000000 2: 22.000000 Solution X: 1: 12.000000 2: -16.000000 3: 19.000000 Solution X: 1: 3.0000000 2: 11.000000 3: -8.0000000 4: 9.0000000 Solution X: 1: 5.0000000 2: 3.0000000 3: 4.0000000 4: 1.0000000 5: 2.0000000 Vandermonde vector ALPHA: 1: 0.21841830 2: 0.95631758 3: 0.82950923 4: 0.56169544 5: 0.41530708 Right hand side B: 1: 15.000000 2: 8.6713908 3: 6.3949667 4: 5.2794550 5: 4.5734350 Solution X: 1: 15.000000 Solution X: 1: 7.6885465 2: 7.3114535 Solution X: 1: 6.2282806 2: 0.27441481 3: 8.4973046 Solution X: 1: 5.4238447 2: 3.6466116 3: 2.4972851 4: 3.4322586 Solution X: 1: 5.0000000 2: 3.0000000 3: 4.0000000 4: 1.0000000 5: 2.0000000 VANDERMONDE_TEST Normal end of execution. 20 March 2018 1:22:33.870 PM