15 #define EIGEN_STACK_ALLOCATION_LIMIT 100000000 56 { *
v+=*other.
v;
return *
this; }
58 { *
v-=*other.
v;
return *
this; }
60 { *
v = *(other.
v);
return *
this; }
63 {
return *
v==*other.
v; }
65 {
return *
v!=*other.
v; }
80 #define CHECK_MEMLEAK(OP) { \ 81 ScalarWithExceptions::countdown = 100; \ 82 int before = ScalarWithExceptions::instances; \ 83 bool exception_thrown = false; \ 85 catch (my_exception) { \ 86 exception_thrown = true; \ 87 VERIFY(ScalarWithExceptions::instances==before && "memory leak detected in " && EIGEN_MAKESTRING(OP)); \ 89 VERIFY(exception_thrown && " no exception thrown in " && EIGEN_MAKESTRING(OP)); \ 99 VectorType
v0(n),
v1(n);
100 MatrixType m0(n,n),
m1(n,n),
m2(n,n);
101 v0.setOnes(); v1.setOnes();
102 m0.setOnes();
m1.setOnes(); m2.setOnes();
ScalarWithExceptions operator*(const ScalarWithExceptions &other) const
ScalarWithExceptions real(const ScalarWithExceptions &x)
#define EIGEN_MAKESTRING(a)
ScalarWithExceptions(const ScalarWithExceptions &other)
ScalarWithExceptions(const float &_v)
ScalarWithExceptions operator-(const ScalarWithExceptions &other) const
ScalarWithExceptions imag(const ScalarWithExceptions &)
ScalarWithExceptions & operator+=(const ScalarWithExceptions &other)
Scalar EIGEN_BLAS_FUNC() dot(int *n, RealScalar *px, int *incx, RealScalar *py, int *incy)
ScalarWithExceptions operator+(const ScalarWithExceptions &other) const
bool operator==(const ScalarWithExceptions &other) const
ScalarWithExceptions & operator-=(const ScalarWithExceptions &other)
bool operator!=(const ScalarWithExceptions &other) const
#define CALL_SUBTEST(FUNC)
detail::initimpl::constructor< Args... > init()
Binds an existing constructor taking arguments Args...
ScalarWithExceptions & operator=(const ScalarWithExceptions &other)
#define CHECK_MEMLEAK(OP)
The matrix class, also used for vectors and row-vectors.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
ScalarWithExceptions conj(const ScalarWithExceptions &x)