34 enum { Rows = MatrixType::RowsAtCompileTime,
Cols = MatrixType::ColsAtCompileTime };
41 for(
int i = 0; i < Rows; i++) for(int j = 0; j < Cols; j++) if(i>
j) r(
i,
j) =
Scalar(0);
59 int size = internal::random<int>(10,50);
62 m1 = MatrixType::Random(size,size);
68 m1 += a * a.adjoint();
77 for(
int i = 0; i < size; i++) m1(i,i) = internal::random<Scalar>();
78 RealScalar absdet =
abs(m1.diagonal().prod());
79 m3 = qr.householderQ();
const Solve< Derived, Rhs > solve(const MatrixBase< Rhs > &b) const
#define CALL_SUBTEST_12(FUNC)
#define VERIFY_RAISES_ASSERT(a)
#define CALL_SUBTEST_9(FUNC)
#define CALL_SUBTEST_6(FUNC)
#define CALL_SUBTEST_4(FUNC)
#define CALL_SUBTEST_3(FUNC)
const MatrixType & matrixQR() const
#define CALL_SUBTEST_7(FUNC)
#define STATIC_CHECK(COND)
#define CALL_SUBTEST_11(FUNC)
MatrixType::RealScalar absDeterminant() const
const Eigen::CwiseBinaryOp< Eigen::internal::scalar_pow_op< typename Derived::Scalar, typename ExponentDerived::Scalar >, const Derived, const ExponentDerived > pow(const Eigen::ArrayBase< Derived > &x, const Eigen::ArrayBase< ExponentDerived > &exponents)
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE T maxi(const T &x, const T &y)
EIGEN_DEVICE_FUNC const LogReturnType log() const
#define CALL_SUBTEST_10(FUNC)
#define VERIFY_IS_APPROX(a, b)
#define CALL_SUBTEST_1(FUNC)
ConstTransposeReturnType transpose() const
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
MatrixType::RealScalar logAbsDeterminant() const
#define CALL_SUBTEST_8(FUNC)
EIGEN_DEVICE_FUNC const Scalar & q
HouseholderSequenceType householderQ() const
NumTraits< Scalar >::Real RealScalar
#define VERIFY_IS_MUCH_SMALLER_THAN(a, b)
#define CALL_SUBTEST_5(FUNC)
#define EIGEN_TEST_MAX_SIZE
#define VERIFY_IS_UNITARY(a)
#define CALL_SUBTEST_2(FUNC)
Jet< T, N > pow(const Jet< T, N > &f, double g)
The matrix class, also used for vectors and row-vectors.
AdjointReturnType adjoint() const
void qr(const MatrixType &m)