3#ifndef pRC_CORE_VALUE_FUNCTIONS_ATAN2_H
4#define pRC_CORE_VALUE_FUNCTIONS_ATAN2_H
26 template<
class Y,
class X, If<IsFloat<Y>> = 0, If<IsFloat<X>> = 0>
27 static inline constexpr auto atan2(
Y const &
y,
X const &
x)
29 return Float(std::atan2(
y(),
x()));
44 template<
class Y,
class X, If<IsInteger<Y>> = 0, If<IsFloat<X>> = 0>
45 static inline constexpr auto atan2(
Y const &
y,
X const &
x)
62 template<
class Y,
class X, If<IsFloat<Y>> = 0, If<IsInteger<X>> = 0>
63 static inline constexpr auto atan2(
Y const &
y,
X const &
x)
80 template<
class Y,
class X, If<IsInteger<Y>> = 0, If<IsInteger<X>> = 0>
81 static inline constexpr auto atan2(
Y const &
y,
X const &
x)
Top-level class storing a floating point number.
Definition float.hpp:35
Definition cholesky.hpp:18
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition copy.hpp:13
static constexpr auto cast(Complex< T > const &a)
Definition cast.hpp:13
static constexpr auto atan2(XA &&a, XB &&b)
Calculates element-wise atan2 of two Tensors containing x and y coordinates.
Definition atan2.hpp:28