mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add a vectorized implementation of atan2 to Eigen.
This commit is contained in:
@@ -134,6 +134,14 @@ absolute_difference
|
||||
*/
|
||||
EIGEN_MAKE_CWISE_BINARY_OP(pow,pow)
|
||||
|
||||
/** \returns an expression of the coefficient-wise atan2(\c *this, \a y), where \a y is the given array argument.
|
||||
*
|
||||
* This function computes the coefficient-wise atan2.
|
||||
*
|
||||
*/
|
||||
EIGEN_MAKE_CWISE_BINARY_OP(atan2,atan2)
|
||||
|
||||
|
||||
// TODO code generating macros could be moved to Macros.h and could include generation of documentation
|
||||
#define EIGEN_MAKE_CWISE_COMP_OP(OP, COMPARATOR) \
|
||||
template<typename OtherDerived> \
|
||||
|
||||
Reference in New Issue
Block a user