21 January 2020 08:58:02 AM SIMPLEX_COORDINATES_TEST C version Test the SIMPLEX_COORDINATES library. SIMPLEX_COORDINATES1_TEST SIMPLEX_COORDINATES1 computes the coordinates of a regular simplex. Simplex vertex coordinates: Row: 0 1 2 Col 0: 1.000000 0.000000 0.000000 1: -0.333333 0.942809 0.000000 2: -0.333333 -0.471405 0.816497 3: -0.333333 -0.471405 -0.816497 Side length = 1.632993 Volume = 0.513200 Expected volume = 0.513200 Dot product matrix: Row: 0 1 2 3 Col 0: 1.000000 -0.333333 -0.333333 -0.333333 1: -0.333333 1.000000 -0.333333 -0.333333 2: -0.333333 -0.333333 1.000000 -0.333333 3: -0.333333 -0.333333 -0.333333 1.000000 SIMPLEX_COORDINATES2_TEST SIMPLEX_COORDINATES2 computes the coordinates of a regular simplex. Simplex vertex coordinates: Row: 0 1 2 Col 0: 0.962250 -0.192450 -0.192450 1: -0.192450 0.962250 -0.192450 2: -0.192450 -0.192450 0.962250 3: -0.577350 -0.577350 -0.577350 Side length = 1.632993 Volume = 0.513200 Expected volume = 0.513200 Dot product matrix: Row: 0 1 2 3 Col 0: 1.000000 -0.333333 -0.333333 -0.333333 1: -0.333333 1.000000 -0.333333 -0.333333 2: -0.333333 -0.333333 1.000000 -0.333333 3: -0.333333 -0.333333 -0.333333 1.000000 SIMPLEX_COORDINATES1_TEST SIMPLEX_COORDINATES1 computes the coordinates of a regular simplex. Simplex vertex coordinates: Row: 0 1 2 3 Col 0: 1.000000 0.000000 0.000000 0.000000 1: -0.250000 0.968246 0.000000 0.000000 2: -0.250000 -0.322749 0.912871 0.000000 3: -0.250000 -0.322749 -0.456435 0.790569 4: -0.250000 -0.322749 -0.456435 -0.790569 Side length = 1.581139 Volume = 0.145577 Expected volume = 0.145577 Dot product matrix: Row: 0 1 2 3 4 Col 0: 1.000000 -0.250000 -0.250000 -0.250000 -0.250000 1: -0.250000 1.000000 -0.250000 -0.250000 -0.250000 2: -0.250000 -0.250000 1.000000 -0.250000 -0.250000 3: -0.250000 -0.250000 -0.250000 1.000000 -0.250000 4: -0.250000 -0.250000 -0.250000 -0.250000 1.000000 SIMPLEX_COORDINATES2_TEST SIMPLEX_COORDINATES2 computes the coordinates of a regular simplex. Simplex vertex coordinates: Row: 0 1 2 3 Col 0: 0.963525 -0.154508 -0.154508 -0.154508 1: -0.154508 0.963525 -0.154508 -0.154508 2: -0.154508 -0.154508 0.963525 -0.154508 3: -0.154508 -0.154508 -0.154508 0.963525 4: -0.500000 -0.500000 -0.500000 -0.500000 Side length = 1.581139 Volume = 0.145577 Expected volume = 0.145577 Dot product matrix: Row: 0 1 2 3 4 Col 0: 1.000000 -0.250000 -0.250000 -0.250000 -0.250000 1: -0.250000 1.000000 -0.250000 -0.250000 -0.250000 2: -0.250000 -0.250000 1.000000 -0.250000 -0.250000 3: -0.250000 -0.250000 -0.250000 1.000000 -0.250000 4: -0.250000 -0.250000 -0.250000 -0.250000 1.000000 SIMPLEX_COORDINATES_TEST Normal end of execution. 21 January 2020 08:58:02 AM