1 May 2014 11:17:46.946 AM VANDERMONDE_PRB FORTRAN77 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.00000 1.00000 1.00000 1.00000 1.00000 2: 1.00000 2.00000 3.00000 1.00000 2.00000 3: 10.0000 10.0000 10.0000 20.0000 20.0000 4: 1.00000 4.00000 9.00000 1.00000 4.00000 5: 10.0000 20.0000 30.0000 20.0000 40.0000 6: 100.000 100.000 100.000 400.000 400.000 Col 6 Row 1: 1.00000 2: 1.00000 3: 30.0000 4: 1.00000 5: 30.0000 6: 900.000 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.00000 1.00000 1.00000 1.00000 1.00000 2: 1.00000 2.00000 3.00000 1.00000 2.00000 3: 1.00000 4.00000 9.00000 1.00000 4.00000 4: 10.0000 10.0000 10.0000 20.0000 20.0000 5: 10.0000 20.0000 30.0000 20.0000 40.0000 6: 10.0000 40.0000 90.0000 20.0000 80.0000 7: 100.000 100.000 100.000 400.000 400.000 8: 100.000 200.000 300.000 400.000 800.000 9: 100.000 400.000 900.000 400.000 1600.00 Col 6 7 8 9 Row 1: 1.00000 1.00000 1.00000 1.00000 2: 3.00000 1.00000 2.00000 3.00000 3: 9.00000 1.00000 4.00000 9.00000 4: 20.0000 30.0000 30.0000 30.0000 5: 60.0000 30.0000 60.0000 90.0000 6: 180.000 30.0000 120.000 270.000 7: 400.000 900.000 900.000 900.000 8: 1200.00 900.000 1800.00 2700.00 9: 3600.00 900.000 3600.00 8100.00 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_PRB Normal end of execution. 1 May 2014 11:17:46.948 AM