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

unaryMinus function; returns the opposite of a pack More...

#include <IPSDKUtil/IPSDKUtilExports.h>
#include <IPSDKUtil/InstructionSet/Arithmetic/detail/UnaryMinusReg.h>
#include <IPSDKUtil/InstructionSet/PromotedType.h>
#include <IPSDKUtil/InstructionSet/detail/UnaryPackOp.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::unaryMinus (const PackT &in)
 returns the opposite of a pack More...
 
template<eInstructionSet::domain instructionSet, class PackT >
IPSDK_FORCEINLINE void ipsdk::simd::unaryMinus (const PackT &in, PackT &out)
 

Detailed Description

unaryMinus function; returns the opposite of a pack

Author
H. Delestre
Date
2014/02/24

given a pack P, with P = {p1, ..., pn}, unaryMinus(P) returns R, with R ={ -p1, ..., -pn}