diff --git a/TESTING/CMakeLists.txt b/TESTING/CMakeLists.txt index eb0ae568a..9e4a06076 100644 --- a/TESTING/CMakeLists.txt +++ b/TESTING/CMakeLists.txt @@ -66,6 +66,7 @@ if(BUILD_SINGLE) add_lapack_test(sgqr.out gqr.in xeigtsts) add_lapack_test(sgsv.out gsv.in xeigtsts) add_lapack_test(scsd.out csd.in xeigtsts) + add_lapack_test(scsd1.out csd1.in xeigtsts) add_lapack_test(slse.out lse.in xeigtsts) # ======== SINGLE DMD EIG TESTS =========================== @@ -114,6 +115,7 @@ if(BUILD_DOUBLE) add_lapack_test(dgqr.out gqr.in xeigtstd) add_lapack_test(dgsv.out gsv.in xeigtstd) add_lapack_test(dcsd.out csd.in xeigtstd) + add_lapack_test(dcsd1.out csd1.in xeigtstd) add_lapack_test(dlse.out lse.in xeigtstd) # ======== DOUBLE DMD EIG TESTS =========================== @@ -159,6 +161,7 @@ if(BUILD_COMPLEX) add_lapack_test(cgqr.out gqr.in xeigtstc) add_lapack_test(cgsv.out gsv.in xeigtstc) add_lapack_test(ccsd.out csd.in xeigtstc) + add_lapack_test(ccsd1.out csd1.in xeigtstc) add_lapack_test(clse.out lse.in xeigtstc) # ======== COMPLEX DMD EIG TESTS =========================== @@ -205,6 +208,7 @@ if(BUILD_COMPLEX16) add_lapack_test(zgqr.out gqr.in xeigtstz) add_lapack_test(zgsv.out gsv.in xeigtstz) add_lapack_test(zcsd.out csd.in xeigtstz) + add_lapack_test(zcsd1.out csd1.in xeigtstz) add_lapack_test(zlse.out lse.in xeigtstz) # ======== COMPLEX16 DMD EIG TESTS =========================== diff --git a/TESTING/Makefile b/TESTING/Makefile index 5298765f8..297459f86 100644 --- a/TESTING/Makefile +++ b/TESTING/Makefile @@ -62,6 +62,7 @@ SEIGTST= snep.out \ sgqr.out \ sgsv.out \ scsd.out \ + scsd1.out \ slse.out SDMDEIGTST= sdmd.out @@ -85,6 +86,7 @@ CEIGTST= cnep.out \ cgqr.out \ cgsv.out \ ccsd.out \ + ccsd1.out \ clse.out CDMDEIGTST= cdmd.out @@ -111,6 +113,7 @@ DEIGTST= dnep.out \ dgqr.out \ dgsv.out \ dcsd.out \ + dcsd1.out \ dlse.out DDMDEIGTST= ddmd.out @@ -134,6 +137,7 @@ ZEIGTST= znep.out \ zgqr.out \ zgsv.out \ zcsd.out \ + zcsd1.out \ zlse.out ZDMDEIGTST= zdmd.out @@ -226,6 +230,10 @@ ctest_rfp.out: ctest_rfp.in LIN/xlintstrfc ztest_rfp.out: ztest_rfp.in LIN/xlintstrfz @echo Testing COMPLEX16 LAPACK RFP prototype linear equation routines ./LIN/xlintstrfz < ztest_rfp.in > $@ 2>&1 + +%csd1.out: csd1.in EIG/xeigtst% + @echo CSD: Testing scalar CS decomposition + ./EIG/xeigtst$* < $< > $@ 2>&1 # # # ======== SINGLE EIG TESTS =========================== diff --git a/TESTING/csd1.in b/TESTING/csd1.in new file mode 100644 index 000000000..c70b94e97 --- /dev/null +++ b/TESTING/csd1.in @@ -0,0 +1,10 @@ +CSD: Scalar CS decomposition on orthogonal or unitary inputs +1 Number of values of M, P, Q +1 Values of M +1 Values of P +1 Values of Q +30.0 Threshold value of test ratio +F Error exits are tested in csd.in +0 Use the default seed +CSD 3 Matrix types listed on the next line +1 3 4 Type 2 deliberately perturbs the input diff --git a/lapack_testing.py b/lapack_testing.py index 5bba8c616..2f6b47fce 100755 --- a/lapack_testing.py +++ b/lapack_testing.py @@ -112,6 +112,7 @@ ("gqr", True, "Generalized QR and RQ factorization routines"), ("gsv", True, "Generalized Singular Value Decomposition routines"), ("csd", True, "CS Decomposition routines"), + ("csd1", True, "Scalar CS Decomposition"), ("lse", True, "Constrained Linear Least Squares routines"), )