diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2007-06-18 07:01:42 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2007-06-18 07:01:42 +0000 |
commit | 37bd64b496211c366e1f6c20de78b16b3c60e5be (patch) | |
tree | 980e2bccd7d2042d174c57f5b56b07d789f4b7a0 /tvmet-1.7.1/include/tvmet/xpr/VectorOperators.h | |
parent | 152e09a14d01c36e50d324b6cd9333ad9d238a55 (diff) |
Remove remaining per-element math functions. Remove defines for IEEE, SYSV and complex
math. Now the user has to define himself EIGEN_USE_COMPLEX if he wants complex support.
Remove TVMET_OPTIMIZE. More cleanup.
Diffstat (limited to 'tvmet-1.7.1/include/tvmet/xpr/VectorOperators.h')
-rw-r--r-- | tvmet-1.7.1/include/tvmet/xpr/VectorOperators.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tvmet-1.7.1/include/tvmet/xpr/VectorOperators.h b/tvmet-1.7.1/include/tvmet/xpr/VectorOperators.h index 947d38666..5f5bf6803 100644 --- a/tvmet-1.7.1/include/tvmet/xpr/VectorOperators.h +++ b/tvmet-1.7.1/include/tvmet/xpr/VectorOperators.h @@ -53,7 +53,7 @@ XprVector< \ Sz \ > \ operator OP (const XprVector<E1, Sz>& lhs, \ - const XprVector<E2, Sz>& rhs) TVMET_CXX_ALWAYS_INLINE; + const XprVector<E2, Sz>& rhs) _tvmet_always_inline; TVMET_DECLARE_MACRO(add, +) // per se element wise TVMET_DECLARE_MACRO(sub, -) // per se element wise @@ -82,7 +82,7 @@ XprVector< \ Sz \ > \ operator OP (const XprVector<E, Sz>& lhs, \ - POD rhs) TVMET_CXX_ALWAYS_INLINE; \ + POD rhs) _tvmet_always_inline; \ \ template<class E, int Sz> \ inline \ @@ -95,7 +95,7 @@ XprVector< \ Sz \ > \ operator OP (POD lhs, \ - const XprVector<E, Sz>& rhs) TVMET_CXX_ALWAYS_INLINE; + const XprVector<E, Sz>& rhs) _tvmet_always_inline; TVMET_DECLARE_MACRO(add, +, int) TVMET_DECLARE_MACRO(sub, -, int) @@ -115,7 +115,7 @@ TVMET_DECLARE_MACRO(div, /, double) #undef TVMET_DECLARE_MACRO -#if defined(TVMET_HAVE_COMPLEX) +#if defined(EIGEN_USE_COMPLEX) /* * operator(XprVector<E, Sz>, complex<T>) * operator(complex<T>, XprVector<E, Sz>) @@ -133,7 +133,7 @@ XprVector< \ Sz \ > \ operator OP (const XprVector<E, Sz>& lhs, \ - const std::complex<T>& rhs) TVMET_CXX_ALWAYS_INLINE; \ + const std::complex<T>& rhs) _tvmet_always_inline; \ \ template<class E, int Sz, class T> \ inline \ @@ -146,7 +146,7 @@ XprVector< \ Sz \ > \ operator OP (const std::complex<T>& lhs, \ - const XprVector<E, Sz>& rhs) TVMET_CXX_ALWAYS_INLINE; + const XprVector<E, Sz>& rhs) _tvmet_always_inline; TVMET_DECLARE_MACRO(add, +) // per se element wise TVMET_DECLARE_MACRO(sub, -) // per se element wise @@ -155,7 +155,7 @@ TVMET_DECLARE_MACRO(div, /) // per se element wise #undef TVMET_DECLARE_MACRO -#endif // defined(TVMET_HAVE_COMPLEX) +#endif // defined(EIGEN_USE_COMPLEX) /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @@ -176,7 +176,7 @@ XprVector< \ >, \ Sz \ > \ -operator OP (const XprVector<E, Sz>& rhs) TVMET_CXX_ALWAYS_INLINE; +operator OP (const XprVector<E, Sz>& rhs) _tvmet_always_inline; TVMET_DECLARE_MACRO(neg, -) @@ -275,7 +275,7 @@ TVMET_IMPLEMENT_MACRO(div, /, double) #undef TVMET_IMPLEMENT_MACRO -#if defined(TVMET_HAVE_COMPLEX) +#if defined(EIGEN_USE_COMPLEX) /* * operator(XprVector<E, Sz>, complex<T>) * operator(complex<T>, XprVector<E, Sz>) @@ -319,7 +319,7 @@ TVMET_IMPLEMENT_MACRO(div, /) // per se element wise #undef TVMET_IMPLEMENT_MACRO -#endif // defined(TVMET_HAVE_COMPLEX) +#endif // defined(EIGEN_USE_COMPLEX) /*++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |