24 MatrixType A = MatrixType::Random(dim, dim),
B = MatrixType::Random(dim, dim);
27 Index k = internal::random<Index>(0, dim - 1);
28 switch (internal::random<int>(0, 10)) {
54 bool all_zeros =
true;
58 std::cerr <<
"Error: T(" <<
i <<
"," <<
j <<
") = " <<
qz.matrixT()(
i,
j) << std::endl;
62 std::cerr <<
"Error: S(" <<
i <<
"," <<
j <<
") = " <<
qz.matrixS()(
i,
j) << std::endl;
67 std::cerr <<
"Error: S(" <<
i <<
"," <<
j <<
") = " <<
qz.matrixS()(
i,
j) <<
" && S(" <<
i - 1 <<
"," <<
j - 1
68 <<
") = " <<
qz.matrixS()(
i - 1,
j - 1) << std::endl;
AnnoyingScalar abs(const AnnoyingScalar &x)
Definition: AnnoyingScalar.h:135
MatrixXf MatrixType
Definition: benchmark-blocking-sizes.cpp:52
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Definition: PlainObjectBase.h:192
EIGEN_DEVICE_FUNC Derived & setZero(Index size)
Definition: CwiseNullaryOp.h:569
Definition: matrices.h:74
@ Success
Definition: Constants.h:440
#define VERIFY_IS_APPROX(a, b)
Definition: integer_types.cpp:13
int * m
Definition: level2_cplx_impl.h:294
char char char int int * k
Definition: level2_impl.h:374
#define VERIFY_IS_EQUAL(a, b)
Definition: main.h:367
EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC bool is_exactly_zero(const X &x)
Definition: Meta.h:592
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:83
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2