Lines Matching refs:qz
45 RealQZ<MatrixType> qz(dim); in real_qz() local
48 qz.compute(A,B); in real_qz()
51 VERIFY_IS_EQUAL(qz.info(), Success); in real_qz()
56 if (abs(qz.matrixT()(i,j))!=Scalar(0.0)) in real_qz()
58 std::cerr << "Error: T(" << i << "," << j << ") = " << qz.matrixT()(i,j) << std::endl; in real_qz()
61 if (j<i-1 && abs(qz.matrixS()(i,j))!=Scalar(0.0)) in real_qz()
63 std::cerr << "Error: S(" << i << "," << j << ") = " << qz.matrixS()(i,j) << std::endl; in real_qz()
66 …if (j==i-1 && j>0 && abs(qz.matrixS()(i,j))!=Scalar(0.0) && abs(qz.matrixS()(i-1,j-1))!=Scalar(0.0… in real_qz()
68 … "Error: S(" << i << "," << j << ") = " << qz.matrixS()(i,j) << " && S(" << i-1 << "," << j-1 << … in real_qz()
73 VERIFY_IS_APPROX(qz.matrixQ()*qz.matrixS()*qz.matrixZ(), A); in real_qz()
74 VERIFY_IS_APPROX(qz.matrixQ()*qz.matrixT()*qz.matrixZ(), B); in real_qz()
75 VERIFY_IS_APPROX(qz.matrixQ()*qz.matrixQ().adjoint(), MatrixType::Identity(dim,dim)); in real_qz()
76 VERIFY_IS_APPROX(qz.matrixZ()*qz.matrixZ().adjoint(), MatrixType::Identity(dim,dim)); in real_qz()