44 template<
typename dtype>
45 double wrap(dtype inAngle)
noexcept
64 template<
typename dtype>
71 [](
const auto angle) noexcept ->
double { return wrap(angle); });
#define STATIC_ASSERT_ARITHMETIC(dtype)
Definition StaticAsserts.hpp:39
Holds 1D and 2D arrays, the main work horse of the NumCpp library.
Definition NdArrayCore.hpp:139
iterator begin() noexcept
Definition NdArrayCore.hpp:1315
constexpr double pi
Pi.
Definition Core/Constants.hpp:39
constexpr double twoPi
2Pi
Definition Core/Constants.hpp:40
OutputIt transform(InputIt first, InputIt last, OutputIt destination, UnaryOperation unaryFunction)
Definition StlAlgorithms.hpp:776
Definition Cartesian.hpp:40
auto angle(const std::complex< dtype > &inValue)
Definition angle.hpp:48
double wrap(dtype inAngle) noexcept
Wrap the input angle to [-pi, pi].
Definition wrap.hpp:45