diff options
author | 2014-06-19 14:55:14 +0100 | |
---|---|---|
committer | 2014-06-19 14:55:14 +0100 | |
commit | eb49100de9bca2c78f641b959a76112007c6b2f6 (patch) | |
tree | 39a436a7a29bd09e913e3746971d52a650ef75c0 /Eigen/src/plugins/ArrayCwiseUnaryOps.h | |
parent | afb1a8c124c9ee52e027a3625b14ecad6be99fa4 (diff) |
Add component-wise atan() function (see bug #80).
Diffstat (limited to 'Eigen/src/plugins/ArrayCwiseUnaryOps.h')
-rw-r--r-- | Eigen/src/plugins/ArrayCwiseUnaryOps.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Eigen/src/plugins/ArrayCwiseUnaryOps.h b/Eigen/src/plugins/ArrayCwiseUnaryOps.h index aea3375ed..d2a8ea75b 100644 --- a/Eigen/src/plugins/ArrayCwiseUnaryOps.h +++ b/Eigen/src/plugins/ArrayCwiseUnaryOps.h @@ -141,6 +141,15 @@ tan() const return derived(); } +/** \returns an expression of the coefficient-wise arc tan of *this. + * + * \sa cos(), sin(), tan() + */ +inline const CwiseUnaryOp<internal::scalar_atan_op<Scalar>, Derived> +atan() const +{ + return derived(); +} /** \returns an expression of the coefficient-wise power of *this to the given exponent. * |