go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Macros | Typedefs | Functions
cutil_math_bugfixes.h File Reference
#include "cuda_runtime.h"
#include <math.h>
Include dependency graph for cutil_math_bugfixes.h:

Go to the source code of this file.

Macros

#define CUTIL_MATH_H
 

Typedefs

typedef unsigned int uint
 
typedef unsigned short ushort
 

Functions

__device__ __host__ float clamp (float f, float a, float b)
 
__device__ __host__ float2 clamp (float2 v, float a, float b)
 
__device__ __host__ float2 clamp (float2 v, float2 a, float2 b)
 
__device__ __host__ float3 clamp (float3 v, float a, float b)
 
__device__ __host__ float3 clamp (float3 v, float3 a, float3 b)
 
__device__ __host__ float4 clamp (float4 v, float a, float b)
 
__device__ __host__ float4 clamp (float4 v, float4 a, float4 b)
 
__device__ __host__ int clamp (int f, int a, int b)
 
__device__ __host__ int3 clamp (int3 v, int a, int b)
 
__device__ __host__ int3 clamp (int3 v, int3 a, int3 b)
 
__device__ __host__ uint clamp (uint f, uint a, uint b)
 
__device__ __host__ uint3 clamp (uint3 v, uint a, uint b)
 
__device__ __host__ uint3 clamp (uint3 v, uint3 a, uint3 b)
 
__host__ __device__ float3 cross (float3 a, float3 b)
 
__host__ __device__ float dot (float2 a, float2 b)
 
__host__ __device__ float dot (float3 a, float3 b)
 
__host__ __device__ float dot (float4 a, float4 b)
 
__host__ __device__ float2 floor (const float2 v)
 
__host__ __device__ float3 floor (const float3 v)
 
__host__ __device__ float4 floor (const float4 v)
 
float fmaxf (float a, float b)
 
static __inline__ __host__ __device__ float3 fmaxf (float3 a, float3 b)
 
static __inline__ __host__ __device__ float4 fmaxf (float4 a, float4 b)
 
float fminf (float a, float b)
 
static __inline__ __host__ __device__ float3 fminf (float3 a, float3 b)
 
static __inline__ __host__ __device__ float4 fminf (float4 a, float4 b)
 
__host__ __device__ float length (float2 v)
 
__host__ __device__ float length (float3 v)
 
__host__ __device__ float length (float4 r)
 
__device__ __host__ float lerp (float a, float b, float t)
 
__device__ __host__ float2 lerp (float2 a, float2 b, float t)
 
__device__ __host__ float3 lerp (float3 a, float3 b, float t)
 
__device__ __host__ float4 lerp (float4 a, float4 b, float t)
 
__host__ __device__ float2 make_float2 (float s)
 
__host__ __device__ float2 make_float2 (int2 a)
 
__host__ __device__ float3 make_float3 (float s)
 
__host__ __device__ float3 make_float3 (float2 a)
 
__host__ __device__ float3 make_float3 (float2 a, float s)
 
__host__ __device__ float3 make_float3 (float4 a)
 
__host__ __device__ float3 make_float3 (int3 a)
 
__host__ __device__ float4 make_float4 (float s)
 
__host__ __device__ float4 make_float4 (float3 a)
 
__host__ __device__ float4 make_float4 (float3 a, float w)
 
__host__ __device__ float4 make_float4 (int4 a)
 
__host__ __device__ int3 make_int3 (int s)
 
__host__ __device__ int3 make_int3 (float3 a)
 
__host__ __device__ uint3 make_uint3 (uint s)
 
__host__ __device__ uint3 make_uint3 (float3 a)
 
int max (int a, int b)
 
__host__ __device__ int3 max (int3 a, int3 b)
 
__host__ __device__ uint3 max (uint3 a, uint3 b)
 
int min (int a, int b)
 
__host__ __device__ int3 min (int3 a, int3 b)
 
__host__ __device__ uint3 min (uint3 a, uint3 b)
 
__host__ __device__ float2 normalize (float2 v)
 
__host__ __device__ float3 normalize (float3 v)
 
__host__ __device__ float4 normalize (float4 v)
 
__host__ __device__ int2 operator* (int2 a, int2 b)
 
__host__ __device__ int2 operator* (int2 a, int s)
 
__host__ __device__ int2 operator* (int s, int2 a)
 
__host__ __device__ float2 operator* (float2 a, float2 b)
 
__host__ __device__ float2 operator* (float2 a, float s)
 
__host__ __device__ float2 operator* (float s, float2 a)
 
__host__ __device__ float3 operator* (float3 a, float3 b)
 
__host__ __device__ float3 operator* (float3 a, float s)
 
__host__ __device__ float3 operator* (float s, float3 a)
 
__host__ __device__ float4 operator* (float4 a, float s)
 
__host__ __device__ float4 operator* (float s, float4 a)
 
__host__ __device__ int3 operator* (int3 a, int3 b)
 
__host__ __device__ int3 operator* (int3 a, int s)
 
__host__ __device__ int3 operator* (int s, int3 a)
 
__host__ __device__ uint3 operator* (uint3 a, uint3 b)
 
__host__ __device__ uint3 operator* (uint3 a, uint s)
 
__host__ __device__ uint3 operator* (uint s, uint3 a)
 
__host__ __device__ void operator*= (int2 &a, int s)
 
__host__ __device__ void operator*= (float2 &a, float s)
 
__host__ __device__ void operator*= (float3 &a, float s)
 
__host__ __device__ void operator*= (float4 &a, float s)
 
__host__ __device__ void operator*= (int3 &a, int s)
 
__host__ __device__ void operator*= (uint3 &a, uint s)
 
__host__ __device__ int2 operator+ (int2 a, int2 b)
 
__host__ __device__ float2 operator+ (float2 a, float2 b)
 
__host__ __device__ float3 operator+ (float3 a, float3 b)
 
__host__ __device__ float3 operator+ (float3 a, float b)
 
__host__ __device__ float4 operator+ (float4 a, float4 b)
 
__host__ __device__ int3 operator+ (int3 a, int3 b)
 
__host__ __device__ uint3 operator+ (uint3 a, uint3 b)
 
__host__ __device__ void operator+= (int2 &a, int2 b)
 
__host__ __device__ void operator+= (float2 &a, float2 b)
 
__host__ __device__ void operator+= (float3 &a, float3 b)
 
__host__ __device__ void operator+= (float4 &a, float4 b)
 
__host__ __device__ void operator+= (int3 &a, int3 b)
 
__host__ __device__ void operator+= (uint3 &a, uint3 b)
 
__host__ __device__ int2 operator- (int2 a, int2 b)
 
__host__ __device__ float2 operator- (float2 a, float2 b)
 
__host__ __device__ float3 operator- (float3 a, float3 b)
 
__host__ __device__ float3 operator- (float3 a, float b)
 
__host__ __device__ float4 operator- (float4 a, float4 b)
 
__host__ __device__ int3 operator- (int3 a, int3 b)
 
__host__ __device__ uint3 operator- (uint3 a, uint3 b)
 
__host__ __device__ void operator-= (int2 &a, int2 b)
 
__host__ __device__ void operator-= (float2 &a, float2 b)
 
__host__ __device__ void operator-= (float3 &a, float3 b)
 
__host__ __device__ void operator-= (float4 &a, float4 b)
 
__host__ __device__ void operator-= (int3 &a, int3 b)
 
__host__ __device__ void operator-= (uint3 &a, uint3 b)
 
__host__ __device__ float2 operator/ (float2 a, float2 b)
 
__host__ __device__ float2 operator/ (float2 a, float s)
 
__host__ __device__ float2 operator/ (float s, float2 a)
 
__host__ __device__ float3 operator/ (float3 a, float3 b)
 
__host__ __device__ float3 operator/ (float3 a, float s)
 
__host__ __device__ float3 operator/ (float s, float3 a)
 
__host__ __device__ float4 operator/ (float4 a, float4 b)
 
__host__ __device__ float4 operator/ (float4 a, float s)
 
__host__ __device__ float4 operator/ (float s, float4 a)
 
__host__ __device__ int3 operator/ (int3 a, int3 b)
 
__host__ __device__ int3 operator/ (int3 a, int s)
 
__host__ __device__ int3 operator/ (int s, int3 a)
 
__host__ __device__ uint3 operator/ (uint3 a, uint3 b)
 
__host__ __device__ uint3 operator/ (uint3 a, uint s)
 
__host__ __device__ uint3 operator/ (uint s, uint3 a)
 
__host__ __device__ void operator/= (float2 &a, float s)
 
__host__ __device__ void operator/= (float3 &a, float s)
 
__host__ __device__ void operator/= (float4 &a, float s)
 
__host__ __device__ void operator/= (int3 &a, int s)
 
__host__ __device__ void operator/= (uint3 &a, uint s)
 
__host__ __device__ float2 reflect (float2 i, float2 n)
 
__host__ __device__ float3 reflect (float3 i, float3 n)
 

Macro Definition Documentation

#define CUTIL_MATH_H

Definition at line 55 of file cutil_math_bugfixes.h.

Typedef Documentation

typedef unsigned int uint

Definition at line 60 of file cutil_math_bugfixes.h.

typedef unsigned short ushort

Definition at line 61 of file cutil_math_bugfixes.h.

Function Documentation

__device__ __host__ float clamp ( float  f,
float  a,
float  b 
)
inline

Definition at line 97 of file cutil_math_bugfixes.h.

__device__ __host__ float2 clamp ( float2  v,
float  a,
float  b 
)
inline

Definition at line 223 of file cutil_math_bugfixes.h.

__device__ __host__ float2 clamp ( float2  v,
float2  a,
float2  b 
)
inline

Definition at line 228 of file cutil_math_bugfixes.h.

__device__ __host__ float3 clamp ( float3  v,
float  a,
float  b 
)
inline

Definition at line 376 of file cutil_math_bugfixes.h.

__device__ __host__ float3 clamp ( float3  v,
float3  a,
float3  b 
)
inline

Definition at line 381 of file cutil_math_bugfixes.h.

__device__ __host__ float4 clamp ( float4  v,
float  a,
float  b 
)
inline

Definition at line 519 of file cutil_math_bugfixes.h.

__device__ __host__ float4 clamp ( float4  v,
float4  a,
float4  b 
)
inline

Definition at line 524 of file cutil_math_bugfixes.h.

__device__ __host__ int clamp ( int  f,
int  a,
int  b 
)
inline

Definition at line 637 of file cutil_math_bugfixes.h.

__device__ __host__ int3 clamp ( int3  v,
int  a,
int  b 
)
inline

Definition at line 642 of file cutil_math_bugfixes.h.

__device__ __host__ int3 clamp ( int3  v,
int3  a,
int3  b 
)
inline

Definition at line 647 of file cutil_math_bugfixes.h.

__device__ __host__ uint clamp ( uint  f,
uint  a,
uint  b 
)
inline

Definition at line 736 of file cutil_math_bugfixes.h.

__device__ __host__ uint3 clamp ( uint3  v,
uint  a,
uint  b 
)
inline

Definition at line 741 of file cutil_math_bugfixes.h.

__device__ __host__ uint3 clamp ( uint3  v,
uint3  a,
uint3  b 
)
inline

Definition at line 746 of file cutil_math_bugfixes.h.

__host__ __device__ float3 cross ( float3  a,
float3  b 
)
inline

Definition at line 393 of file cutil_math_bugfixes.h.

__host__ __device__ float dot ( float2  a,
float2  b 
)
inline

Definition at line 234 of file cutil_math_bugfixes.h.

__host__ __device__ float dot ( float3  a,
float3  b 
)
inline

Definition at line 387 of file cutil_math_bugfixes.h.

__host__ __device__ float dot ( float4  a,
float4  b 
)
inline

Definition at line 530 of file cutil_math_bugfixes.h.

__host__ __device__ float2 floor ( const float2  v)
inline

Definition at line 253 of file cutil_math_bugfixes.h.

__host__ __device__ float3 floor ( const float3  v)
inline

Definition at line 412 of file cutil_math_bugfixes.h.

__host__ __device__ float4 floor ( const float4  v)
inline

Definition at line 549 of file cutil_math_bugfixes.h.

float fmaxf ( float  a,
float  b 
)
inline

Definition at line 71 of file cutil_math_bugfixes.h.

static __inline__ __host__ __device__ float3 fmaxf ( float3  a,
float3  b 
)
static

Definition at line 296 of file cutil_math_bugfixes.h.

static __inline__ __host__ __device__ float4 fmaxf ( float4  a,
float4  b 
)
static

Definition at line 451 of file cutil_math_bugfixes.h.

float fminf ( float  a,
float  b 
)
inline

Definition at line 66 of file cutil_math_bugfixes.h.

static __inline__ __host__ __device__ float3 fminf ( float3  a,
float3  b 
)
static

Definition at line 290 of file cutil_math_bugfixes.h.

static __inline__ __host__ __device__ float4 fminf ( float4  a,
float4  b 
)
static

Definition at line 445 of file cutil_math_bugfixes.h.

__host__ __device__ float length ( float2  v)
inline

Definition at line 240 of file cutil_math_bugfixes.h.

__host__ __device__ float length ( float3  v)
inline

Definition at line 399 of file cutil_math_bugfixes.h.

__host__ __device__ float length ( float4  r)
inline

Definition at line 536 of file cutil_math_bugfixes.h.

__device__ __host__ float lerp ( float  a,
float  b,
float  t 
)
inline

Definition at line 91 of file cutil_math_bugfixes.h.

__device__ __host__ float2 lerp ( float2  a,
float2  b,
float  t 
)
inline

Definition at line 217 of file cutil_math_bugfixes.h.

__device__ __host__ float3 lerp ( float3  a,
float3  b,
float  t 
)
inline

Definition at line 370 of file cutil_math_bugfixes.h.

__device__ __host__ float4 lerp ( float4  a,
float4  b,
float  t 
)
inline

Definition at line 513 of file cutil_math_bugfixes.h.

__host__ __device__ float2 make_float2 ( float  s)
inline

Definition at line 147 of file cutil_math_bugfixes.h.

__host__ __device__ float2 make_float2 ( int2  a)
inline

Definition at line 151 of file cutil_math_bugfixes.h.

__host__ __device__ float3 make_float3 ( float  s)
inline

Definition at line 268 of file cutil_math_bugfixes.h.

__host__ __device__ float3 make_float3 ( float2  a)
inline

Definition at line 272 of file cutil_math_bugfixes.h.

__host__ __device__ float3 make_float3 ( float2  a,
float  s 
)
inline

Definition at line 276 of file cutil_math_bugfixes.h.

__host__ __device__ float3 make_float3 ( float4  a)
inline

Definition at line 280 of file cutil_math_bugfixes.h.

__host__ __device__ float3 make_float3 ( int3  a)
inline

Definition at line 284 of file cutil_math_bugfixes.h.

__host__ __device__ float4 make_float4 ( float  s)
inline

Definition at line 427 of file cutil_math_bugfixes.h.

__host__ __device__ float4 make_float4 ( float3  a)
inline

Definition at line 431 of file cutil_math_bugfixes.h.

__host__ __device__ float4 make_float4 ( float3  a,
float  w 
)
inline

Definition at line 435 of file cutil_math_bugfixes.h.

__host__ __device__ float4 make_float4 ( int4  a)
inline

Definition at line 439 of file cutil_math_bugfixes.h.

__host__ __device__ int3 make_int3 ( int  s)
inline

Definition at line 558 of file cutil_math_bugfixes.h.

__host__ __device__ int3 make_int3 ( float3  a)
inline

Definition at line 562 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 make_uint3 ( uint  s)
inline

Definition at line 657 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 make_uint3 ( float3  a)
inline

Definition at line 661 of file cutil_math_bugfixes.h.

int max ( int  a,
int  b 
)
inline

Definition at line 76 of file cutil_math_bugfixes.h.

__host__ __device__ int3 max ( int3  a,
int3  b 
)
inline

Definition at line 574 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 max ( uint3  a,
uint3  b 
)
inline

Definition at line 673 of file cutil_math_bugfixes.h.

int min ( int  a,
int  b 
)
inline

Definition at line 81 of file cutil_math_bugfixes.h.

__host__ __device__ int3 min ( int3  a,
int3  b 
)
inline

Definition at line 568 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 min ( uint3  a,
uint3  b 
)
inline

Definition at line 667 of file cutil_math_bugfixes.h.

__host__ __device__ float2 normalize ( float2  v)
inline

Definition at line 246 of file cutil_math_bugfixes.h.

__host__ __device__ float3 normalize ( float3  v)
inline

Definition at line 405 of file cutil_math_bugfixes.h.

__host__ __device__ float4 normalize ( float4  v)
inline

Definition at line 542 of file cutil_math_bugfixes.h.

__host__ __device__ int2 operator* ( int2  a,
int2  b 
)
inline

Definition at line 126 of file cutil_math_bugfixes.h.

__host__ __device__ int2 operator* ( int2  a,
int  s 
)
inline

Definition at line 130 of file cutil_math_bugfixes.h.

__host__ __device__ int2 operator* ( int  s,
int2  a 
)
inline

Definition at line 134 of file cutil_math_bugfixes.h.

__host__ __device__ float2 operator* ( float2  a,
float2  b 
)
inline

Definition at line 177 of file cutil_math_bugfixes.h.

__host__ __device__ float2 operator* ( float2  a,
float  s 
)
inline

Definition at line 181 of file cutil_math_bugfixes.h.

__host__ __device__ float2 operator* ( float  s,
float2  a 
)
inline

Definition at line 185 of file cutil_math_bugfixes.h.

__host__ __device__ float3 operator* ( float3  a,
float3  b 
)
inline

Definition at line 330 of file cutil_math_bugfixes.h.

__host__ __device__ float3 operator* ( float3  a,
float  s 
)
inline

Definition at line 334 of file cutil_math_bugfixes.h.

__host__ __device__ float3 operator* ( float  s,
float3  a 
)
inline

Definition at line 338 of file cutil_math_bugfixes.h.

__host__ __device__ float4 operator* ( float4  a,
float  s 
)
inline

Definition at line 477 of file cutil_math_bugfixes.h.

__host__ __device__ float4 operator* ( float  s,
float4  a 
)
inline

Definition at line 481 of file cutil_math_bugfixes.h.

__host__ __device__ int3 operator* ( int3  a,
int3  b 
)
inline

Definition at line 601 of file cutil_math_bugfixes.h.

__host__ __device__ int3 operator* ( int3  a,
int  s 
)
inline

Definition at line 605 of file cutil_math_bugfixes.h.

__host__ __device__ int3 operator* ( int  s,
int3  a 
)
inline

Definition at line 609 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 operator* ( uint3  a,
uint3  b 
)
inline

Definition at line 700 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 operator* ( uint3  a,
uint  s 
)
inline

Definition at line 704 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 operator* ( uint  s,
uint3  a 
)
inline

Definition at line 708 of file cutil_math_bugfixes.h.

__host__ __device__ void operator*= ( int2 &  a,
int  s 
)
inline

Definition at line 138 of file cutil_math_bugfixes.h.

__host__ __device__ void operator*= ( float2 &  a,
float  s 
)
inline

Definition at line 189 of file cutil_math_bugfixes.h.

__host__ __device__ void operator*= ( float3 &  a,
float  s 
)
inline

Definition at line 342 of file cutil_math_bugfixes.h.

__host__ __device__ void operator*= ( float4 &  a,
float  s 
)
inline

Definition at line 485 of file cutil_math_bugfixes.h.

__host__ __device__ void operator*= ( int3 &  a,
int  s 
)
inline

Definition at line 613 of file cutil_math_bugfixes.h.

__host__ __device__ void operator*= ( uint3 &  a,
uint  s 
)
inline

Definition at line 712 of file cutil_math_bugfixes.h.

__host__ __device__ int2 operator+ ( int2  a,
int2  b 
)
inline

Definition at line 106 of file cutil_math_bugfixes.h.

__host__ __device__ float2 operator+ ( float2  a,
float2  b 
)
inline

Definition at line 157 of file cutil_math_bugfixes.h.

__host__ __device__ float3 operator+ ( float3  a,
float3  b 
)
inline

Definition at line 302 of file cutil_math_bugfixes.h.

__host__ __device__ float3 operator+ ( float3  a,
float  b 
)
inline

Definition at line 306 of file cutil_math_bugfixes.h.

__host__ __device__ float4 operator+ ( float4  a,
float4  b 
)
inline

Definition at line 457 of file cutil_math_bugfixes.h.

__host__ __device__ int3 operator+ ( int3  a,
int3  b 
)
inline

Definition at line 580 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 operator+ ( uint3  a,
uint3  b 
)
inline

Definition at line 679 of file cutil_math_bugfixes.h.

__host__ __device__ void operator+= ( int2 &  a,
int2  b 
)
inline

Definition at line 110 of file cutil_math_bugfixes.h.

__host__ __device__ void operator+= ( float2 &  a,
float2  b 
)
inline

Definition at line 161 of file cutil_math_bugfixes.h.

__host__ __device__ void operator+= ( float3 &  a,
float3  b 
)
inline

Definition at line 310 of file cutil_math_bugfixes.h.

__host__ __device__ void operator+= ( float4 &  a,
float4  b 
)
inline

Definition at line 461 of file cutil_math_bugfixes.h.

__host__ __device__ void operator+= ( int3 &  a,
int3  b 
)
inline

Definition at line 584 of file cutil_math_bugfixes.h.

__host__ __device__ void operator+= ( uint3 &  a,
uint3  b 
)
inline

Definition at line 683 of file cutil_math_bugfixes.h.

__host__ __device__ int2 operator- ( int2  a,
int2  b 
)
inline

Definition at line 116 of file cutil_math_bugfixes.h.

__host__ __device__ float2 operator- ( float2  a,
float2  b 
)
inline

Definition at line 167 of file cutil_math_bugfixes.h.

__host__ __device__ float3 operator- ( float3  a,
float3  b 
)
inline

Definition at line 316 of file cutil_math_bugfixes.h.

__host__ __device__ float3 operator- ( float3  a,
float  b 
)
inline

Definition at line 320 of file cutil_math_bugfixes.h.

__host__ __device__ float4 operator- ( float4  a,
float4  b 
)
inline

Definition at line 467 of file cutil_math_bugfixes.h.

__host__ __device__ int3 operator- ( int3  a,
int3  b 
)
inline

Definition at line 590 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 operator- ( uint3  a,
uint3  b 
)
inline

Definition at line 689 of file cutil_math_bugfixes.h.

__host__ __device__ void operator-= ( int2 &  a,
int2  b 
)
inline

Definition at line 120 of file cutil_math_bugfixes.h.

__host__ __device__ void operator-= ( float2 &  a,
float2  b 
)
inline

Definition at line 171 of file cutil_math_bugfixes.h.

__host__ __device__ void operator-= ( float3 &  a,
float3  b 
)
inline

Definition at line 324 of file cutil_math_bugfixes.h.

__host__ __device__ void operator-= ( float4 &  a,
float4  b 
)
inline

Definition at line 471 of file cutil_math_bugfixes.h.

__host__ __device__ void operator-= ( int3 &  a,
int3  b 
)
inline

Definition at line 595 of file cutil_math_bugfixes.h.

__host__ __device__ void operator-= ( uint3 &  a,
uint3  b 
)
inline

Definition at line 694 of file cutil_math_bugfixes.h.

__host__ __device__ float2 operator/ ( float2  a,
float2  b 
)
inline

Definition at line 195 of file cutil_math_bugfixes.h.

__host__ __device__ float2 operator/ ( float2  a,
float  s 
)
inline

Definition at line 199 of file cutil_math_bugfixes.h.

__host__ __device__ float2 operator/ ( float  s,
float2  a 
)
inline

Definition at line 204 of file cutil_math_bugfixes.h.

__host__ __device__ float3 operator/ ( float3  a,
float3  b 
)
inline

Definition at line 348 of file cutil_math_bugfixes.h.

__host__ __device__ float3 operator/ ( float3  a,
float  s 
)
inline

Definition at line 352 of file cutil_math_bugfixes.h.

__host__ __device__ float3 operator/ ( float  s,
float3  a 
)
inline

Definition at line 357 of file cutil_math_bugfixes.h.

__host__ __device__ float4 operator/ ( float4  a,
float4  b 
)
inline

Definition at line 491 of file cutil_math_bugfixes.h.

__host__ __device__ float4 operator/ ( float4  a,
float  s 
)
inline

Definition at line 495 of file cutil_math_bugfixes.h.

__host__ __device__ float4 operator/ ( float  s,
float4  a 
)
inline

Definition at line 500 of file cutil_math_bugfixes.h.

__host__ __device__ int3 operator/ ( int3  a,
int3  b 
)
inline

Definition at line 619 of file cutil_math_bugfixes.h.

__host__ __device__ int3 operator/ ( int3  a,
int  s 
)
inline

Definition at line 623 of file cutil_math_bugfixes.h.

__host__ __device__ int3 operator/ ( int  s,
int3  a 
)
inline

Definition at line 627 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 operator/ ( uint3  a,
uint3  b 
)
inline

Definition at line 718 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 operator/ ( uint3  a,
uint  s 
)
inline

Definition at line 722 of file cutil_math_bugfixes.h.

__host__ __device__ uint3 operator/ ( uint  s,
uint3  a 
)
inline

Definition at line 726 of file cutil_math_bugfixes.h.

__host__ __device__ void operator/= ( float2 &  a,
float  s 
)
inline

Definition at line 210 of file cutil_math_bugfixes.h.

__host__ __device__ void operator/= ( float3 &  a,
float  s 
)
inline

Definition at line 363 of file cutil_math_bugfixes.h.

__host__ __device__ void operator/= ( float4 &  a,
float  s 
)
inline

Definition at line 506 of file cutil_math_bugfixes.h.

__host__ __device__ void operator/= ( int3 &  a,
int  s 
)
inline

Definition at line 631 of file cutil_math_bugfixes.h.

__host__ __device__ void operator/= ( uint3 &  a,
uint  s 
)
inline

Definition at line 730 of file cutil_math_bugfixes.h.

__host__ __device__ float2 reflect ( float2  i,
float2  n 
)
inline

Definition at line 259 of file cutil_math_bugfixes.h.

__host__ __device__ float3 reflect ( float3  i,
float3  n 
)
inline

Definition at line 418 of file cutil_math_bugfixes.h.



Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo