COVISE Core
Typedefs | Functions
cutil_math.h File Reference
#include <cuda_runtime.h>
#include <math.h>
Include dependency graph for cutil_math.h:

Go to the source code of this file.

Typedefs

typedef unsigned int uint
 
typedef unsigned short ushort
 

Functions

float fminf (float a, float b)
 
float fmaxf (float a, float b)
 
int max (int a, int b)
 
int min (int a, int b)
 
float rsqrtf (float x)
 
__host__ __device__ float2 make_float2 (float s)
 
__host__ __device__ float2 make_float2 (float3 a)
 
__host__ __device__ float2 make_float2 (int2 a)
 
__host__ __device__ float2 make_float2 (uint2 a)
 
__host__ __device__ int2 make_int2 (int s)
 
__host__ __device__ int2 make_int2 (int3 a)
 
__host__ __device__ int2 make_int2 (uint2 a)
 
__host__ __device__ int2 make_int2 (float2 a)
 
__host__ __device__ uint2 make_uint2 (uint s)
 
__host__ __device__ uint2 make_uint2 (uint3 a)
 
__host__ __device__ uint2 make_uint2 (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__ float3 make_float3 (uint3 a)
 
__host__ __device__ int3 make_int3 (int s)
 
__host__ __device__ int3 make_int3 (int2 a)
 
__host__ __device__ int3 make_int3 (int2 a, int s)
 
__host__ __device__ int3 make_int3 (uint3 a)
 
__host__ __device__ int3 make_int3 (float3 a)
 
__host__ __device__ uint3 make_uint3 (uint s)
 
__host__ __device__ uint3 make_uint3 (uint2 a)
 
__host__ __device__ uint3 make_uint3 (uint2 a, uint s)
 
__host__ __device__ uint3 make_uint3 (uint4 a)
 
__host__ __device__ uint3 make_uint3 (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__ float4 make_float4 (uint4 a)
 
__host__ __device__ int4 make_int4 (int s)
 
__host__ __device__ int4 make_int4 (int3 a)
 
__host__ __device__ int4 make_int4 (int3 a, int w)
 
__host__ __device__ int4 make_int4 (uint4 a)
 
__host__ __device__ int4 make_int4 (float4 a)
 
__host__ __device__ uint4 make_uint4 (uint s)
 
__host__ __device__ uint4 make_uint4 (uint3 a)
 
__host__ __device__ uint4 make_uint4 (uint3 a, uint w)
 
__host__ __device__ uint4 make_uint4 (int4 a)
 
__host__ __device__ float2 operator- (float2 &a)
 
__host__ __device__ int2 operator- (int2 &a)
 
__host__ __device__ float3 operator- (float3 &a)
 
__host__ __device__ int3 operator- (int3 &a)
 
__host__ __device__ float4 operator- (float4 &a)
 
__host__ __device__ int4 operator- (int4 &a)
 
__host__ __device__ float2 operator+ (float2 a, float2 b)
 
__host__ __device__ void operator+= (float2 &a, float2 b)
 
__host__ __device__ float2 operator+ (float2 a, float b)
 
__host__ __device__ float2 operator+ (float b, float2 a)
 
__host__ __device__ void operator+= (float2 &a, float b)
 
__host__ __device__ int2 operator+ (int2 a, int2 b)
 
__host__ __device__ void operator+= (int2 &a, int2 b)
 
__host__ __device__ int2 operator+ (int2 a, int b)
 
__host__ __device__ int2 operator+ (int b, int2 a)
 
__host__ __device__ void operator+= (int2 &a, int b)
 
__host__ __device__ uint2 operator+ (uint2 a, uint2 b)
 
__host__ __device__ void operator+= (uint2 &a, uint2 b)
 
__host__ __device__ uint2 operator+ (uint2 a, uint b)
 
__host__ __device__ uint2 operator+ (uint b, uint2 a)
 
__host__ __device__ void operator+= (uint2 &a, uint b)
 
__host__ __device__ float3 operator+ (float3 a, float3 b)
 
__host__ __device__ void operator+= (float3 &a, float3 b)
 
__host__ __device__ float3 operator+ (float3 a, float b)
 
__host__ __device__ void operator+= (float3 &a, float b)
 
__host__ __device__ int3 operator+ (int3 a, int3 b)
 
__host__ __device__ void operator+= (int3 &a, int3 b)
 
__host__ __device__ int3 operator+ (int3 a, int b)
 
__host__ __device__ void operator+= (int3 &a, int b)
 
__host__ __device__ uint3 operator+ (uint3 a, uint3 b)
 
__host__ __device__ void operator+= (uint3 &a, uint3 b)
 
__host__ __device__ uint3 operator+ (uint3 a, uint b)
 
__host__ __device__ void operator+= (uint3 &a, uint b)
 
__host__ __device__ int3 operator+ (int b, int3 a)
 
__host__ __device__ uint3 operator+ (uint b, uint3 a)
 
__host__ __device__ float3 operator+ (float b, float3 a)
 
__host__ __device__ float4 operator+ (float4 a, float4 b)
 
__host__ __device__ void operator+= (float4 &a, float4 b)
 
__host__ __device__ float4 operator+ (float4 a, float b)
 
__host__ __device__ float4 operator+ (float b, float4 a)
 
__host__ __device__ void operator+= (float4 &a, float b)
 
__host__ __device__ int4 operator+ (int4 a, int4 b)
 
__host__ __device__ void operator+= (int4 &a, int4 b)
 
__host__ __device__ int4 operator+ (int4 a, int b)
 
__host__ __device__ int4 operator+ (int b, int4 a)
 
__host__ __device__ void operator+= (int4 &a, int b)
 
__host__ __device__ uint4 operator+ (uint4 a, uint4 b)
 
__host__ __device__ void operator+= (uint4 &a, uint4 b)
 
__host__ __device__ uint4 operator+ (uint4 a, uint b)
 
__host__ __device__ uint4 operator+ (uint b, uint4 a)
 
__host__ __device__ void operator+= (uint4 &a, uint b)
 
__host__ __device__ float2 operator- (float2 a, float2 b)
 
__host__ __device__ void operator-= (float2 &a, float2 b)
 
__host__ __device__ float2 operator- (float2 a, float b)
 
__host__ __device__ float2 operator- (float b, float2 a)
 
__host__ __device__ void operator-= (float2 &a, float b)
 
__host__ __device__ int2 operator- (int2 a, int2 b)
 
__host__ __device__ void operator-= (int2 &a, int2 b)
 
__host__ __device__ int2 operator- (int2 a, int b)
 
__host__ __device__ int2 operator- (int b, int2 a)
 
__host__ __device__ void operator-= (int2 &a, int b)
 
__host__ __device__ uint2 operator- (uint2 a, uint2 b)
 
__host__ __device__ void operator-= (uint2 &a, uint2 b)
 
__host__ __device__ uint2 operator- (uint2 a, uint b)
 
__host__ __device__ uint2 operator- (uint b, uint2 a)
 
__host__ __device__ void operator-= (uint2 &a, uint b)
 
__host__ __device__ float3 operator- (float3 a, float3 b)
 
__host__ __device__ void operator-= (float3 &a, float3 b)
 
__host__ __device__ float3 operator- (float3 a, float b)
 
__host__ __device__ float3 operator- (float b, float3 a)
 
__host__ __device__ void operator-= (float3 &a, float b)
 
__host__ __device__ int3 operator- (int3 a, int3 b)
 
__host__ __device__ void operator-= (int3 &a, int3 b)
 
__host__ __device__ int3 operator- (int3 a, int b)
 
__host__ __device__ int3 operator- (int b, int3 a)
 
__host__ __device__ void operator-= (int3 &a, int b)
 
__host__ __device__ uint3 operator- (uint3 a, uint3 b)
 
__host__ __device__ void operator-= (uint3 &a, uint3 b)
 
__host__ __device__ uint3 operator- (uint3 a, uint b)
 
__host__ __device__ uint3 operator- (uint b, uint3 a)
 
__host__ __device__ void operator-= (uint3 &a, uint b)
 
__host__ __device__ float4 operator- (float4 a, float4 b)
 
__host__ __device__ void operator-= (float4 &a, float4 b)
 
__host__ __device__ float4 operator- (float4 a, float b)
 
__host__ __device__ void operator-= (float4 &a, float b)
 
__host__ __device__ int4 operator- (int4 a, int4 b)
 
__host__ __device__ void operator-= (int4 &a, int4 b)
 
__host__ __device__ int4 operator- (int4 a, int b)
 
__host__ __device__ int4 operator- (int b, int4 a)
 
__host__ __device__ void operator-= (int4 &a, int b)
 
__host__ __device__ uint4 operator- (uint4 a, uint4 b)
 
__host__ __device__ void operator-= (uint4 &a, uint4 b)
 
__host__ __device__ uint4 operator- (uint4 a, uint b)
 
__host__ __device__ uint4 operator- (uint b, uint4 a)
 
__host__ __device__ void operator-= (uint4 &a, uint b)
 
__host__ __device__ float2 operator* (float2 a, float2 b)
 
__host__ __device__ void operator*= (float2 &a, float2 b)
 
__host__ __device__ float2 operator* (float2 a, float b)
 
__host__ __device__ float2 operator* (float b, float2 a)
 
__host__ __device__ void operator*= (float2 &a, float b)
 
__host__ __device__ int2 operator* (int2 a, int2 b)
 
__host__ __device__ void operator*= (int2 &a, int2 b)
 
__host__ __device__ int2 operator* (int2 a, int b)
 
__host__ __device__ int2 operator* (int b, int2 a)
 
__host__ __device__ void operator*= (int2 &a, int b)
 
__host__ __device__ uint2 operator* (uint2 a, uint2 b)
 
__host__ __device__ void operator*= (uint2 &a, uint2 b)
 
__host__ __device__ uint2 operator* (uint2 a, uint b)
 
__host__ __device__ uint2 operator* (uint b, uint2 a)
 
__host__ __device__ void operator*= (uint2 &a, uint b)
 
__host__ __device__ float3 operator* (float3 a, float3 b)
 
__host__ __device__ void operator*= (float3 &a, float3 b)
 
__host__ __device__ float3 operator* (float3 a, float b)
 
__host__ __device__ float3 operator* (float b, float3 a)
 
__host__ __device__ void operator*= (float3 &a, float b)
 
__host__ __device__ int3 operator* (int3 a, int3 b)
 
__host__ __device__ void operator*= (int3 &a, int3 b)
 
__host__ __device__ int3 operator* (int3 a, int b)
 
__host__ __device__ int3 operator* (int b, int3 a)
 
__host__ __device__ void operator*= (int3 &a, int b)
 
__host__ __device__ uint3 operator* (uint3 a, uint3 b)
 
__host__ __device__ void operator*= (uint3 &a, uint3 b)
 
__host__ __device__ uint3 operator* (uint3 a, uint b)
 
__host__ __device__ uint3 operator* (uint b, uint3 a)
 
__host__ __device__ void operator*= (uint3 &a, uint b)
 
__host__ __device__ float4 operator* (float4 a, float4 b)
 
__host__ __device__ void operator*= (float4 &a, float4 b)
 
__host__ __device__ float4 operator* (float4 a, float b)
 
__host__ __device__ float4 operator* (float b, float4 a)
 
__host__ __device__ void operator*= (float4 &a, float b)
 
__host__ __device__ int4 operator* (int4 a, int4 b)
 
__host__ __device__ void operator*= (int4 &a, int4 b)
 
__host__ __device__ int4 operator* (int4 a, int b)
 
__host__ __device__ int4 operator* (int b, int4 a)
 
__host__ __device__ void operator*= (int4 &a, int b)
 
__host__ __device__ uint4 operator* (uint4 a, uint4 b)
 
__host__ __device__ void operator*= (uint4 &a, uint4 b)
 
__host__ __device__ uint4 operator* (uint4 a, uint b)
 
__host__ __device__ uint4 operator* (uint b, uint4 a)
 
__host__ __device__ void operator*= (uint4 &a, uint b)
 
__host__ __device__ float2 operator/ (float2 a, float2 b)
 
__host__ __device__ void operator/= (float2 &a, float2 b)
 
__host__ __device__ float2 operator/ (float2 a, float b)
 
__host__ __device__ void operator/= (float2 &a, float b)
 
__host__ __device__ float2 operator/ (float b, float2 a)
 
__host__ __device__ float3 operator/ (float3 a, float3 b)
 
__host__ __device__ void operator/= (float3 &a, float3 b)
 
__host__ __device__ float3 operator/ (float3 a, float b)
 
__host__ __device__ void operator/= (float3 &a, float b)
 
__host__ __device__ float3 operator/ (float b, float3 a)
 
__host__ __device__ float4 operator/ (float4 a, float4 b)
 
__host__ __device__ void operator/= (float4 &a, float4 b)
 
__host__ __device__ float4 operator/ (float4 a, float b)
 
__host__ __device__ void operator/= (float4 &a, float b)
 
__host__ __device__ float4 operator/ (float b, float4 a)
 
__host__ __device__ float2 fminf (float2 a, float2 b)
 
__host__ __device__ float3 fminf (float3 a, float3 b)
 
__host__ __device__ float4 fminf (float4 a, float4 b)
 
__host__ __device__ int2 min (int2 a, int2 b)
 
__host__ __device__ int3 min (int3 a, int3 b)
 
__host__ __device__ int4 min (int4 a, int4 b)
 
__host__ __device__ uint2 min (uint2 a, uint2 b)
 
__host__ __device__ uint3 min (uint3 a, uint3 b)
 
__host__ __device__ uint4 min (uint4 a, uint4 b)
 
__host__ __device__ float2 fmaxf (float2 a, float2 b)
 
__host__ __device__ float3 fmaxf (float3 a, float3 b)
 
__host__ __device__ float4 fmaxf (float4 a, float4 b)
 
__host__ __device__ int2 max (int2 a, int2 b)
 
__host__ __device__ int3 max (int3 a, int3 b)
 
__host__ __device__ int4 max (int4 a, int4 b)
 
__host__ __device__ uint2 max (uint2 a, uint2 b)
 
__host__ __device__ uint3 max (uint3 a, uint3 b)
 
__host__ __device__ uint4 max (uint4 a, uint4 b)
 
__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)
 
__device__ __host__ float clamp (float f, float a, float b)
 
__device__ __host__ int clamp (int f, int a, int b)
 
__device__ __host__ uint clamp (uint f, uint a, uint 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__ int2 clamp (int2 v, int a, int b)
 
__device__ __host__ int2 clamp (int2 v, int2 a, int2 b)
 
__device__ __host__ int3 clamp (int3 v, int a, int b)
 
__device__ __host__ int3 clamp (int3 v, int3 a, int3 b)
 
__device__ __host__ int4 clamp (int4 v, int a, int b)
 
__device__ __host__ int4 clamp (int4 v, int4 a, int4 b)
 
__device__ __host__ uint2 clamp (uint2 v, uint a, uint b)
 
__device__ __host__ uint2 clamp (uint2 v, uint2 a, uint2 b)
 
__device__ __host__ uint3 clamp (uint3 v, uint a, uint b)
 
__device__ __host__ uint3 clamp (uint3 v, uint3 a, uint3 b)
 
__device__ __host__ uint4 clamp (uint4 v, uint a, uint b)
 
__device__ __host__ uint4 clamp (uint4 v, uint4 a, uint4 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__ int dot (int2 a, int2 b)
 
__host__ __device__ int dot (int3 a, int3 b)
 
__host__ __device__ int dot (int4 a, int4 b)
 
__host__ __device__ uint dot (uint2 a, uint2 b)
 
__host__ __device__ uint dot (uint3 a, uint3 b)
 
__host__ __device__ uint dot (uint4 a, uint4 b)
 
__host__ __device__ float length (float2 v)
 
__host__ __device__ float length (float3 v)
 
__host__ __device__ float length (float4 v)
 
__host__ __device__ float2 normalize (float2 v)
 
__host__ __device__ float3 normalize (float3 v)
 
__host__ __device__ float4 normalize (float4 v)
 
__host__ __device__ float2 floorf (float2 v)
 
__host__ __device__ float3 floorf (float3 v)
 
__host__ __device__ float4 floorf (float4 v)
 
__host__ __device__ float fracf (float v)
 
__host__ __device__ float2 fracf (float2 v)
 
__host__ __device__ float3 fracf (float3 v)
 
__host__ __device__ float4 fracf (float4 v)
 
__host__ __device__ float2 fmodf (float2 a, float2 b)
 
__host__ __device__ float3 fmodf (float3 a, float3 b)
 
__host__ __device__ float4 fmodf (float4 a, float4 b)
 
__host__ __device__ float2 fabs (float2 v)
 
__host__ __device__ float3 fabs (float3 v)
 
__host__ __device__ float4 fabs (float4 v)
 
__host__ __device__ int2 abs (int2 v)
 
__host__ __device__ int3 abs (int3 v)
 
__host__ __device__ int4 abs (int4 v)
 
__host__ __device__ float3 reflect (float3 i, float3 n)
 
__host__ __device__ float3 cross (float3 a, float3 b)
 
__device__ __host__ float smoothstep (float a, float b, float x)
 
__device__ __host__ float2 smoothstep (float2 a, float2 b, float2 x)
 
__device__ __host__ float3 smoothstep (float3 a, float3 b, float3 x)
 
__device__ __host__ float4 smoothstep (float4 a, float4 b, float4 x)
 

Typedef Documentation

◆ uint

typedef unsigned int uint

◆ ushort

typedef unsigned short ushort

Function Documentation

◆ abs() [1/3]

__host__ __device__ int2 abs ( int2  v)
inline

◆ abs() [2/3]

__host__ __device__ int3 abs ( int3  v)
inline

◆ abs() [3/3]

__host__ __device__ int4 abs ( int4  v)
inline

◆ clamp() [1/21]

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

◆ clamp() [2/21]

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

◆ clamp() [3/21]

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

◆ clamp() [4/21]

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

◆ clamp() [5/21]

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

◆ clamp() [6/21]

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

◆ clamp() [7/21]

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

◆ clamp() [8/21]

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

◆ clamp() [9/21]

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

◆ clamp() [10/21]

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

◆ clamp() [11/21]

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

◆ clamp() [12/21]

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

◆ clamp() [13/21]

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

◆ clamp() [14/21]

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

◆ clamp() [15/21]

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

◆ clamp() [16/21]

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

◆ clamp() [17/21]

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

◆ clamp() [18/21]

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

◆ clamp() [19/21]

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

◆ clamp() [20/21]

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

◆ clamp() [21/21]

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

◆ cross()

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

◆ dot() [1/9]

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

◆ dot() [2/9]

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

◆ dot() [3/9]

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

◆ dot() [4/9]

__host__ __device__ int dot ( int2  a,
int2  b 
)
inline

◆ dot() [5/9]

__host__ __device__ int dot ( int3  a,
int3  b 
)
inline

◆ dot() [6/9]

__host__ __device__ int dot ( int4  a,
int4  b 
)
inline

◆ dot() [7/9]

__host__ __device__ uint dot ( uint2  a,
uint2  b 
)
inline

◆ dot() [8/9]

__host__ __device__ uint dot ( uint3  a,
uint3  b 
)
inline

◆ dot() [9/9]

__host__ __device__ uint dot ( uint4  a,
uint4  b 
)
inline

◆ fabs() [1/3]

__host__ __device__ float2 fabs ( float2  v)
inline

◆ fabs() [2/3]

__host__ __device__ float3 fabs ( float3  v)
inline

◆ fabs() [3/3]

__host__ __device__ float4 fabs ( float4  v)
inline

◆ floorf() [1/3]

__host__ __device__ float2 floorf ( float2  v)
inline

◆ floorf() [2/3]

__host__ __device__ float3 floorf ( float3  v)
inline

◆ floorf() [3/3]

__host__ __device__ float4 floorf ( float4  v)
inline

◆ fmaxf() [1/4]

float fmaxf ( float  a,
float  b 
)
inline

◆ fmaxf() [2/4]

__host__ __device__ float2 fmaxf ( float2  a,
float2  b 
)
inline

◆ fmaxf() [3/4]

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

◆ fmaxf() [4/4]

__host__ __device__ float4 fmaxf ( float4  a,
float4  b 
)
inline

◆ fminf() [1/4]

float fminf ( float  a,
float  b 
)
inline

◆ fminf() [2/4]

__host__ __device__ float2 fminf ( float2  a,
float2  b 
)
inline

◆ fminf() [3/4]

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

◆ fminf() [4/4]

__host__ __device__ float4 fminf ( float4  a,
float4  b 
)
inline

◆ fmodf() [1/3]

__host__ __device__ float2 fmodf ( float2  a,
float2  b 
)
inline

◆ fmodf() [2/3]

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

◆ fmodf() [3/3]

__host__ __device__ float4 fmodf ( float4  a,
float4  b 
)
inline

◆ fracf() [1/4]

__host__ __device__ float fracf ( float  v)
inline

◆ fracf() [2/4]

__host__ __device__ float2 fracf ( float2  v)
inline

◆ fracf() [3/4]

__host__ __device__ float3 fracf ( float3  v)
inline

◆ fracf() [4/4]

__host__ __device__ float4 fracf ( float4  v)
inline

◆ length() [1/3]

__host__ __device__ float length ( float2  v)
inline

◆ length() [2/3]

__host__ __device__ float length ( float3  v)
inline

◆ length() [3/3]

__host__ __device__ float length ( float4  v)
inline

◆ lerp() [1/4]

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

◆ lerp() [2/4]

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

◆ lerp() [3/4]

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

◆ lerp() [4/4]

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

◆ make_float2() [1/4]

__host__ __device__ float2 make_float2 ( float  s)
inline

◆ make_float2() [2/4]

__host__ __device__ float2 make_float2 ( float3  a)
inline

◆ make_float2() [3/4]

__host__ __device__ float2 make_float2 ( int2  a)
inline

◆ make_float2() [4/4]

__host__ __device__ float2 make_float2 ( uint2  a)
inline

◆ make_float3() [1/6]

__host__ __device__ float3 make_float3 ( float  s)
inline

◆ make_float3() [2/6]

__host__ __device__ float3 make_float3 ( float2  a)
inline

◆ make_float3() [3/6]

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

◆ make_float3() [4/6]

__host__ __device__ float3 make_float3 ( float4  a)
inline

◆ make_float3() [5/6]

__host__ __device__ float3 make_float3 ( int3  a)
inline

◆ make_float3() [6/6]

__host__ __device__ float3 make_float3 ( uint3  a)
inline

◆ make_float4() [1/5]

__host__ __device__ float4 make_float4 ( float  s)
inline

◆ make_float4() [2/5]

__host__ __device__ float4 make_float4 ( float3  a)
inline

◆ make_float4() [3/5]

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

◆ make_float4() [4/5]

__host__ __device__ float4 make_float4 ( int4  a)
inline

◆ make_float4() [5/5]

__host__ __device__ float4 make_float4 ( uint4  a)
inline

◆ make_int2() [1/4]

__host__ __device__ int2 make_int2 ( float2  a)
inline

◆ make_int2() [2/4]

__host__ __device__ int2 make_int2 ( int  s)
inline

◆ make_int2() [3/4]

__host__ __device__ int2 make_int2 ( int3  a)
inline

◆ make_int2() [4/4]

__host__ __device__ int2 make_int2 ( uint2  a)
inline

◆ make_int3() [1/5]

__host__ __device__ int3 make_int3 ( float3  a)
inline

◆ make_int3() [2/5]

__host__ __device__ int3 make_int3 ( int  s)
inline

◆ make_int3() [3/5]

__host__ __device__ int3 make_int3 ( int2  a)
inline

◆ make_int3() [4/5]

__host__ __device__ int3 make_int3 ( int2  a,
int  s 
)
inline

◆ make_int3() [5/5]

__host__ __device__ int3 make_int3 ( uint3  a)
inline

◆ make_int4() [1/5]

__host__ __device__ int4 make_int4 ( float4  a)
inline

◆ make_int4() [2/5]

__host__ __device__ int4 make_int4 ( int  s)
inline

◆ make_int4() [3/5]

__host__ __device__ int4 make_int4 ( int3  a)
inline

◆ make_int4() [4/5]

__host__ __device__ int4 make_int4 ( int3  a,
int  w 
)
inline

◆ make_int4() [5/5]

__host__ __device__ int4 make_int4 ( uint4  a)
inline

◆ make_uint2() [1/3]

__host__ __device__ uint2 make_uint2 ( int2  a)
inline

◆ make_uint2() [2/3]

__host__ __device__ uint2 make_uint2 ( uint  s)
inline

◆ make_uint2() [3/3]

__host__ __device__ uint2 make_uint2 ( uint3  a)
inline

◆ make_uint3() [1/5]

__host__ __device__ uint3 make_uint3 ( int3  a)
inline

◆ make_uint3() [2/5]

__host__ __device__ uint3 make_uint3 ( uint  s)
inline

◆ make_uint3() [3/5]

__host__ __device__ uint3 make_uint3 ( uint2  a)
inline

◆ make_uint3() [4/5]

__host__ __device__ uint3 make_uint3 ( uint2  a,
uint  s 
)
inline

◆ make_uint3() [5/5]

__host__ __device__ uint3 make_uint3 ( uint4  a)
inline

◆ make_uint4() [1/4]

__host__ __device__ uint4 make_uint4 ( int4  a)
inline

◆ make_uint4() [2/4]

__host__ __device__ uint4 make_uint4 ( uint  s)
inline

◆ make_uint4() [3/4]

__host__ __device__ uint4 make_uint4 ( uint3  a)
inline

◆ make_uint4() [4/4]

__host__ __device__ uint4 make_uint4 ( uint3  a,
uint  w 
)
inline

◆ max() [1/7]

int max ( int  a,
int  b 
)
inline

◆ max() [2/7]

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

◆ max() [3/7]

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

◆ max() [4/7]

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

◆ max() [5/7]

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

◆ max() [6/7]

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

◆ max() [7/7]

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

◆ min() [1/7]

int min ( int  a,
int  b 
)
inline

◆ min() [2/7]

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

◆ min() [3/7]

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

◆ min() [4/7]

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

◆ min() [5/7]

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

◆ min() [6/7]

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

◆ min() [7/7]

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

◆ normalize() [1/3]

__host__ __device__ float2 normalize ( float2  v)
inline

◆ normalize() [2/3]

__host__ __device__ float3 normalize ( float3  v)
inline

◆ normalize() [3/3]

__host__ __device__ float4 normalize ( float4  v)
inline

◆ operator*() [1/27]

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

◆ operator*() [2/27]

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

◆ operator*() [3/27]

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

◆ operator*() [4/27]

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

◆ operator*() [5/27]

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

◆ operator*() [6/27]

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

◆ operator*() [7/27]

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

◆ operator*() [8/27]

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

◆ operator*() [9/27]

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

◆ operator*() [10/27]

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

◆ operator*() [11/27]

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

◆ operator*() [12/27]

__host__ __device__ int4 operator* ( int  b,
int4  a 
)
inline

◆ operator*() [13/27]

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

◆ operator*() [14/27]

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

◆ operator*() [15/27]

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

◆ operator*() [16/27]

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

◆ operator*() [17/27]

__host__ __device__ int4 operator* ( int4  a,
int  b 
)
inline

◆ operator*() [18/27]

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

◆ operator*() [19/27]

__host__ __device__ uint2 operator* ( uint  b,
uint2  a 
)
inline

◆ operator*() [20/27]

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

◆ operator*() [21/27]

__host__ __device__ uint4 operator* ( uint  b,
uint4  a 
)
inline

◆ operator*() [22/27]

__host__ __device__ uint2 operator* ( uint2  a,
uint  b 
)
inline

◆ operator*() [23/27]

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

◆ operator*() [24/27]

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

◆ operator*() [25/27]

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

◆ operator*() [26/27]

__host__ __device__ uint4 operator* ( uint4  a,
uint  b 
)
inline

◆ operator*() [27/27]

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

◆ operator*=() [1/18]

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

◆ operator*=() [2/18]

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

◆ operator*=() [3/18]

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

◆ operator*=() [4/18]

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

◆ operator*=() [5/18]

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

◆ operator*=() [6/18]

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

◆ operator*=() [7/18]

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

◆ operator*=() [8/18]

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

◆ operator*=() [9/18]

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

◆ operator*=() [10/18]

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

◆ operator*=() [11/18]

__host__ __device__ void operator*= ( int4 &  a,
int  b 
)
inline

◆ operator*=() [12/18]

__host__ __device__ void operator*= ( int4 &  a,
int4  b 
)
inline

◆ operator*=() [13/18]

__host__ __device__ void operator*= ( uint2 &  a,
uint  b 
)
inline

◆ operator*=() [14/18]

__host__ __device__ void operator*= ( uint2 &  a,
uint2  b 
)
inline

◆ operator*=() [15/18]

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

◆ operator*=() [16/18]

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

◆ operator*=() [17/18]

__host__ __device__ void operator*= ( uint4 &  a,
uint  b 
)
inline

◆ operator*=() [18/18]

__host__ __device__ void operator*= ( uint4 &  a,
uint4  b 
)
inline

◆ operator+() [1/27]

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

◆ operator+() [2/27]

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

◆ operator+() [3/27]

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

◆ operator+() [4/27]

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

◆ operator+() [5/27]

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

◆ operator+() [6/27]

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

◆ operator+() [7/27]

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

◆ operator+() [8/27]

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

◆ operator+() [9/27]

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

◆ operator+() [10/27]

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

◆ operator+() [11/27]

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

◆ operator+() [12/27]

__host__ __device__ int4 operator+ ( int  b,
int4  a 
)
inline

◆ operator+() [13/27]

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

◆ operator+() [14/27]

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

◆ operator+() [15/27]

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

◆ operator+() [16/27]

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

◆ operator+() [17/27]

__host__ __device__ int4 operator+ ( int4  a,
int  b 
)
inline

◆ operator+() [18/27]

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

◆ operator+() [19/27]

__host__ __device__ uint2 operator+ ( uint  b,
uint2  a 
)
inline

◆ operator+() [20/27]

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

◆ operator+() [21/27]

__host__ __device__ uint4 operator+ ( uint  b,
uint4  a 
)
inline

◆ operator+() [22/27]

__host__ __device__ uint2 operator+ ( uint2  a,
uint  b 
)
inline

◆ operator+() [23/27]

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

◆ operator+() [24/27]

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

◆ operator+() [25/27]

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

◆ operator+() [26/27]

__host__ __device__ uint4 operator+ ( uint4  a,
uint  b 
)
inline

◆ operator+() [27/27]

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

◆ operator+=() [1/18]

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

◆ operator+=() [2/18]

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

◆ operator+=() [3/18]

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

◆ operator+=() [4/18]

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

◆ operator+=() [5/18]

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

◆ operator+=() [6/18]

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

◆ operator+=() [7/18]

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

◆ operator+=() [8/18]

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

◆ operator+=() [9/18]

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

◆ operator+=() [10/18]

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

◆ operator+=() [11/18]

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

◆ operator+=() [12/18]

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

◆ operator+=() [13/18]

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

◆ operator+=() [14/18]

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

◆ operator+=() [15/18]

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

◆ operator+=() [16/18]

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

◆ operator+=() [17/18]

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

◆ operator+=() [18/18]

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

◆ operator-() [1/32]

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

◆ operator-() [2/32]

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

◆ operator-() [3/32]

__host__ __device__ float2 operator- ( float2 &  a)
inline

◆ operator-() [4/32]

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

◆ operator-() [5/32]

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

◆ operator-() [6/32]

__host__ __device__ float3 operator- ( float3 &  a)
inline

◆ operator-() [7/32]

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

◆ operator-() [8/32]

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

◆ operator-() [9/32]

__host__ __device__ float4 operator- ( float4 &  a)
inline

◆ operator-() [10/32]

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

◆ operator-() [11/32]

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

◆ operator-() [12/32]

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

◆ operator-() [13/32]

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

◆ operator-() [14/32]

__host__ __device__ int4 operator- ( int  b,
int4  a 
)
inline

◆ operator-() [15/32]

__host__ __device__ int2 operator- ( int2 &  a)
inline

◆ operator-() [16/32]

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

◆ operator-() [17/32]

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

◆ operator-() [18/32]

__host__ __device__ int3 operator- ( int3 &  a)
inline

◆ operator-() [19/32]

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

◆ operator-() [20/32]

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

◆ operator-() [21/32]

__host__ __device__ int4 operator- ( int4 &  a)
inline

◆ operator-() [22/32]

__host__ __device__ int4 operator- ( int4  a,
int  b 
)
inline

◆ operator-() [23/32]

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

◆ operator-() [24/32]

__host__ __device__ uint2 operator- ( uint  b,
uint2  a 
)
inline

◆ operator-() [25/32]

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

◆ operator-() [26/32]

__host__ __device__ uint4 operator- ( uint  b,
uint4  a 
)
inline

◆ operator-() [27/32]

__host__ __device__ uint2 operator- ( uint2  a,
uint  b 
)
inline

◆ operator-() [28/32]

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

◆ operator-() [29/32]

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

◆ operator-() [30/32]

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

◆ operator-() [31/32]

__host__ __device__ uint4 operator- ( uint4  a,
uint  b 
)
inline

◆ operator-() [32/32]

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

◆ operator-=() [1/18]

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

◆ operator-=() [2/18]

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

◆ operator-=() [3/18]

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

◆ operator-=() [4/18]

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

◆ operator-=() [5/18]

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

◆ operator-=() [6/18]

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

◆ operator-=() [7/18]

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

◆ operator-=() [8/18]

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

◆ operator-=() [9/18]

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

◆ operator-=() [10/18]

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

◆ operator-=() [11/18]

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

◆ operator-=() [12/18]

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

◆ operator-=() [13/18]

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

◆ operator-=() [14/18]

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

◆ operator-=() [15/18]

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

◆ operator-=() [16/18]

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

◆ operator-=() [17/18]

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

◆ operator-=() [18/18]

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

◆ operator/() [1/9]

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

◆ operator/() [2/9]

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

◆ operator/() [3/9]

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

◆ operator/() [4/9]

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

◆ operator/() [5/9]

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

◆ operator/() [6/9]

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

◆ operator/() [7/9]

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

◆ operator/() [8/9]

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

◆ operator/() [9/9]

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

◆ operator/=() [1/6]

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

◆ operator/=() [2/6]

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

◆ operator/=() [3/6]

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

◆ operator/=() [4/6]

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

◆ operator/=() [5/6]

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

◆ operator/=() [6/6]

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

◆ reflect()

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

◆ rsqrtf()

float rsqrtf ( float  x)
inline

◆ smoothstep() [1/4]

__device__ __host__ float smoothstep ( float  a,
float  b,
float  x 
)
inline

◆ smoothstep() [2/4]

__device__ __host__ float2 smoothstep ( float2  a,
float2  b,
float2  x 
)
inline

◆ smoothstep() [3/4]

__device__ __host__ float3 smoothstep ( float3  a,
float3  b,
float3  x 
)
inline

◆ smoothstep() [4/4]

__device__ __host__ float4 smoothstep ( float4  a,
float4  b,
float4  x 
)
inline