Lines Matching refs:ScalarWithExceptions
25 class ScalarWithExceptions class
28 ScalarWithExceptions() { init(); } in ScalarWithExceptions() function in ScalarWithExceptions
29 ScalarWithExceptions(const float& _v) { init(); *v = _v; } in ScalarWithExceptions() function in ScalarWithExceptions
30 ScalarWithExceptions(const ScalarWithExceptions& other) { init(); *v = *(other.v); } in ScalarWithExceptions() function in ScalarWithExceptions
31 ~ScalarWithExceptions() { in ~ScalarWithExceptions()
41 ScalarWithExceptions operator+(const ScalarWithExceptions& other) const in operator +()
46 return ScalarWithExceptions(*v+*other.v); in operator +()
49 ScalarWithExceptions operator-(const ScalarWithExceptions& other) const in operator -()
50 { return ScalarWithExceptions(*v-*other.v); } in operator -()
52 ScalarWithExceptions operator*(const ScalarWithExceptions& other) const in operator *()
53 { return ScalarWithExceptions((*v)*(*other.v)); } in operator *()
55 ScalarWithExceptions& operator+=(const ScalarWithExceptions& other) in operator +=()
57 ScalarWithExceptions& operator-=(const ScalarWithExceptions& other) in operator -=()
59 ScalarWithExceptions& operator=(const ScalarWithExceptions& other) in operator =()
62 bool operator==(const ScalarWithExceptions& other) const in operator ==()
64 bool operator!=(const ScalarWithExceptions& other) const in operator !=()
72 ScalarWithExceptions real(const ScalarWithExceptions &x) { return x; } in real()
73 ScalarWithExceptions imag(const ScalarWithExceptions & ) { return 0; } in imag() argument
74 ScalarWithExceptions conj(const ScalarWithExceptions &x) { return x; } in conj()
76 int ScalarWithExceptions::instances = 0;
77 int ScalarWithExceptions::countdown = 0;
81 ScalarWithExceptions::countdown = 100; \
82 int before = ScalarWithExceptions::instances; \
87 …VERIFY(ScalarWithExceptions::instances==before && "memory leak detected in " && EIGEN_MAKESTRING(O…
94 typedef Eigen::Matrix<ScalarWithExceptions,Dynamic,1> VectorType; in memoryleak()
95 typedef Eigen::Matrix<ScalarWithExceptions,Dynamic,Dynamic> MatrixType; in memoryleak()
107 …VERIFY(ScalarWithExceptions::instances==0 && "global memory leak detected in " && EIGEN_MAKESTRING… in memoryleak()