diff options
author | 2009-03-26 12:50:24 +0000 | |
---|---|---|
committer | 2009-03-26 12:50:24 +0000 | |
commit | ce5669dbf9d3ed3502531a73b43184859d5881d2 (patch) | |
tree | 43f47cf897790e544bf579b6571608da840cfcb3 /Eigen/src/Array/CwiseOperators.h | |
parent | 62de40f8bb82bae0abeb8978d29725d0e3c8939e (diff) |
* enable vectorization of sin, cos, etc. by default with an option to
disable them (-DEIGEN_FAST_MATH=0)
* add a specialization of MatrixBase::operator*(RealScalar) for fast
"matrix of complex" times scalar products (even more useful for
autodiff scalar types)
Diffstat (limited to 'Eigen/src/Array/CwiseOperators.h')
-rw-r--r-- | Eigen/src/Array/CwiseOperators.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Array/CwiseOperators.h b/Eigen/src/Array/CwiseOperators.h index 4b6346daa..9fcfbc9c0 100644 --- a/Eigen/src/Array/CwiseOperators.h +++ b/Eigen/src/Array/CwiseOperators.h @@ -82,7 +82,7 @@ Cwise<ExpressionType>::log() const * Example: \include Cwise_cos.cpp * Output: \verbinclude Cwise_cos.out * - * \sa sin(), exp() + * \sa sin(), exp(), EIGEN_FAST_MATH */ template<typename ExpressionType> inline const EIGEN_CWISE_UNOP_RETURN_TYPE(ei_scalar_cos_op) @@ -99,7 +99,7 @@ Cwise<ExpressionType>::cos() const * Example: \include Cwise_sin.cpp * Output: \verbinclude Cwise_sin.out * - * \sa cos(), exp() + * \sa cos(), exp(), EIGEN_FAST_MATH */ template<typename ExpressionType> inline const EIGEN_CWISE_UNOP_RETURN_TYPE(ei_scalar_sin_op) |