PandaRoot
PndCAVector.h File Reference
#include "PndCADef.h"
#include "PndCAMath.h"

Go to the source code of this file.

Namespaces

 CAMath
 

Macros

#define SPECIALIZATION(T)
 
#define SPECIALIZATION(T)
 

Functions

static uint_m validHitIndexes (const uint_v &v)
 
template<>
Vc::int_v CAMath::Abs< Vc::int_v > (const Vc::int_v &x)
 

Macro Definition Documentation

◆ SPECIALIZATION [1/2]

#define SPECIALIZATION (   T)
Value:
template <> \
inline Vc::T Min<Vc::T>(const Vc::T &x, const Vc::T &y) \
{ \
return Vc::min(x, y); \
} \
template <> \
inline Vc::T Max<Vc::T>(const Vc::T &x, const Vc::T &y) \
{ \
return Vc::max(x, y); \
}
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:25
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: P4_F32vec4.h:24

Definition at line 53 of file PndCAVector.h.

◆ SPECIALIZATION [2/2]

#define SPECIALIZATION (   T)

Definition at line 53 of file PndCAVector.h.

Function Documentation

◆ validHitIndexes()

static uint_m validHitIndexes ( const uint_v &  v)
inlinestatic

Definition at line 23 of file PndCAVector.h.

References v.

24 {
25  return static_cast<int_v>(v) >= int_v(Vc::Zero);
26 }
__m128 v
Definition: P4_F32vec4.h:3