Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions TESTING/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ===========================
Expand Down Expand Up @@ -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 ===========================
Expand Down Expand Up @@ -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 ===========================
Expand Down Expand Up @@ -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 ===========================
Expand Down
8 changes: 8 additions & 0 deletions TESTING/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ SEIGTST= snep.out \
sgqr.out \
sgsv.out \
scsd.out \
scsd1.out \
slse.out

SDMDEIGTST= sdmd.out
Expand All @@ -85,6 +86,7 @@ CEIGTST= cnep.out \
cgqr.out \
cgsv.out \
ccsd.out \
ccsd1.out \
clse.out

CDMDEIGTST= cdmd.out
Expand All @@ -111,6 +113,7 @@ DEIGTST= dnep.out \
dgqr.out \
dgsv.out \
dcsd.out \
dcsd1.out \
dlse.out

DDMDEIGTST= ddmd.out
Expand All @@ -134,6 +137,7 @@ ZEIGTST= znep.out \
zgqr.out \
zgsv.out \
zcsd.out \
zcsd1.out \
zlse.out

ZDMDEIGTST= zdmd.out
Expand Down Expand Up @@ -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 ===========================
Expand Down
10 changes: 10 additions & 0 deletions TESTING/csd1.in
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions lapack_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
)

Expand Down
Loading