Template Function librapid::atan2(const SIMDVector<Scalar, Dims>&, const SIMDVector<Scalar, Dims>&)#

Function Documentation#

template<typename Scalar, int64_t Dims>
SIMDVector<Scalar, Dims> librapid::atan2(const SIMDVector<Scalar, Dims> &lhs, const SIMDVector<Scalar, Dims> &rhs)#

Calculate the atan2 of each element of a vector and return the result

Template Parameters
  • Scalar – The scalar type of the vector

  • Dims – The dimensionality of the vector

Parameters

vec – The vector to calculate the atan2 of