Add component-wise atan() function (see bug #80).

This commit is contained in:
Roger Martin
2014-06-19 14:55:14 +01:00
parent afb1a8c124
commit eb49100de9
5 changed files with 35 additions and 0 deletions

View File

@@ -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.
*