IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
atan2.h File Reference

atan2 function; returns the calculation of the arctan function on all the elements of one input pack operand More...

#include <IPSDKUtil/IPSDKUtilExports.h>
#include <IPSDKUtil/InstructionSet/Arithmetic/detail/Atan2Pack.h>
#include <IPSDKUtil/InstructionSet/PromotedType.h>
#include <IPSDKUtil/Tools/ForceInline.h>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::simd
 Namespace agregating IPSDK SIMD routines and classes.
 

Functions

template<eInstructionSet::domain instructionSet, class PackT >
IPSDK_FORCEINLINE PackT ipsdk::simd::atan2 (const PackT &y, const PackT &x)
 
template<eInstructionSet::domain instructionSet, class PackT >
IPSDK_FORCEINLINE void ipsdk::simd::atan2 (const PackT &y, const PackT &x, PackT &out)
 

Detailed Description

atan2 function; returns the calculation of the arctan function on all the elements of one input pack operand

Author
H. Delestre
Date
2014/11/17

given a pack Y with Y = {y1, ..., yn}, and a pack X with X = {x1, ..., xn}, atan2(Y, X) returns RES = {res1, ... resn}, so that, for each i in [1;n]: