Jetson Inference
DNN Vision Library
cudaMath.h File Reference
#include "cuda_runtime.h"
#include <math.h>

Go to the source code of this file.

Vector Math

Copyright 1993-2013 NVIDIA Corporation.

All rights reserved.

Please refer to the NVIDIA end user license agreement (EULA) associated with this source code for terms and conditions that govern your use of this software. Any use, reproduction, disclosure, or distribution of this software and related documentation outside the terms of the EULA is strictly prohibited.

#define EXIT_WAIVED   2
 
typedef unsigned int uint
 
typedef unsigned char uchar
 
typedef unsigned short ushort
 
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 (float3 a)
 
__host__ __device__ float3 make_float3 (float4 a)
 
__host__ __device__ float3 make_float3 (int3 a)
 
__host__ __device__ float3 make_float3 (uint3 a)
 
__host__ __device__ float3 make_float3 (uchar3 a)
 
__host__ __device__ float3 make_float3 (uchar4 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__ uchar3 make_uchar3 (uchar s)
 
__host__ __device__ uchar3 make_uchar3 (uint s)
 
__host__ __device__ uchar3 make_uchar3 (uint2 a)
 
__host__ __device__ uchar3 make_uchar3 (uint2 a, uint s)
 
__host__ __device__ uchar3 make_uchar3 (uint4 a)
 
__host__ __device__ uchar3 make_uchar3 (uchar3 a)
 
__host__ __device__ uchar3 make_uchar3 (uchar4 a)
 
__host__ __device__ uchar3 make_uchar3 (int3 a)
 
__host__ __device__ uchar3 make_uchar3 (float3 a)
 
__host__ __device__ uchar3 make_uchar3 (float4 a)
 
__host__ __device__ float4 make_float4 (float s)
 
__host__ __device__ float4 make_float4 (float3 a)
 
__host__ __device__ float4 make_float4 (float4 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__ float4 make_float4 (uchar3 a)
 
__host__ __device__ float4 make_float4 (uchar4 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__ uchar4 make_uchar4 (uchar s)
 
__host__ __device__ uchar4 make_uchar4 (uint s)
 
__host__ __device__ uchar4 make_uchar4 (uint3 a)
 
__host__ __device__ uchar4 make_uchar4 (uchar3 a)
 
__host__ __device__ uchar4 make_uchar4 (uchar4 a)
 
__host__ __device__ uchar4 make_uchar4 (uint3 a, uint w)
 
__host__ __device__ uchar4 make_uchar4 (int4 a)
 
__host__ __device__ uchar4 make_uchar4 (float3 a)
 
__host__ __device__ uchar4 make_uchar4 (float4 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__ uchar3 operator+ (uchar3 a, uchar3 b)
 
__host__ __device__ void operator+= (uchar3 &a, uchar3 b)
 
__host__ __device__ uchar3 operator+ (uchar3 a, uchar b)
 
__host__ __device__ void operator+= (uchar3 &a, uchar 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__ uchar4 operator+ (uchar4 a, uchar4 b)
 
__host__ __device__ void operator+= (uchar4 &a, uchar4 b)
 
__host__ __device__ uchar4 operator+ (uchar4 a, uchar b)
 
__host__ __device__ uchar4 operator+ (uchar b, uchar4 a)
 
__host__ __device__ void operator+= (uchar4 &a, uchar 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__ uchar2 operator* (uchar2 a, uchar2 b)
 
__host__ __device__ void operator*= (uchar2 &a, uchar2 b)
 
__host__ __device__ uchar2 operator* (uchar2 a, uchar b)
 
__host__ __device__ uchar2 operator* (uchar b, uchar2 a)
 
__host__ __device__ uchar2 operator* (uchar2 a, float b)
 
__host__ __device__ uchar2 operator* (float b, uchar2 a)
 
__host__ __device__ void operator*= (uchar2 &a, uchar b)
 
__host__ __device__ void operator*= (uchar2 &a, float 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__ uchar3 operator* (uchar3 a, uchar3 b)
 
__host__ __device__ void operator*= (uchar3 &a, uchar3 b)
 
__host__ __device__ uchar3 operator* (uchar3 a, uchar b)
 
__host__ __device__ uchar3 operator* (uchar b, uchar3 a)
 
__host__ __device__ uchar3 operator* (uchar3 a, float b)
 
__host__ __device__ uchar3 operator* (float b, uchar3 a)
 
__host__ __device__ void operator*= (uchar3 &a, uchar b)
 
__host__ __device__ void operator*= (uchar3 &a, float 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__ uchar4 operator* (uchar4 a, uchar4 b)
 
__host__ __device__ void operator*= (uchar4 &a, uchar4 b)
 
__host__ __device__ uchar4 operator* (uchar4 a, uchar b)
 
__host__ __device__ uchar4 operator* (uchar b, uchar4 a)
 
__host__ __device__ uchar4 operator* (uchar4 a, float b)
 
__host__ __device__ uchar4 operator* (float b, uchar4 a)
 
__host__ __device__ void operator*= (uchar4 &a, uchar b)
 
__host__ __device__ void operator*= (uchar4 &a, float 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)
 

Macro Definition Documentation

◆ EXIT_WAIVED

#define EXIT_WAIVED   2

Typedef Documentation

◆ uchar

typedef unsigned char uchar

◆ 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/9]

__host__ __device__ float3 make_float3 ( float  s)
inline

◆ make_float3() [2/9]

__host__ __device__ float3 make_float3 ( float2  a)
inline

◆ make_float3() [3/9]

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

◆ make_float3() [4/9]

__host__ __device__ float3 make_float3 ( float3  a)
inline

◆ make_float3() [5/9]

__host__ __device__ float3 make_float3 ( float4  a)
inline

◆ make_float3() [6/9]

__host__ __device__ float3 make_float3 ( int3  a)
inline

◆ make_float3() [7/9]

__host__ __device__ float3 make_float3 ( uchar3  a)
inline

◆ make_float3() [8/9]

__host__ __device__ float3 make_float3 ( uchar4  a)
inline

◆ make_float3() [9/9]

__host__ __device__ float3 make_float3 ( uint3  a)
inline

◆ make_float4() [1/8]

__host__ __device__ float4 make_float4 ( float  s)
inline

◆ make_float4() [2/8]

__host__ __device__ float4 make_float4 ( float3  a)
inline

◆ make_float4() [3/8]

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

◆ make_float4() [4/8]

__host__ __device__ float4 make_float4 ( float4  a)
inline

◆ make_float4() [5/8]

__host__ __device__ float4 make_float4 ( int4  a)
inline

◆ make_float4() [6/8]

__host__ __device__ float4 make_float4 ( uchar3  a)
inline

◆ make_float4() [7/8]

__host__ __device__ float4 make_float4 ( uchar4  a)
inline

◆ make_float4() [8/8]

__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_uchar3() [1/10]

__host__ __device__ uchar3 make_uchar3 ( float3  a)
inline

◆ make_uchar3() [2/10]

__host__ __device__ uchar3 make_uchar3 ( float4  a)
inline

◆ make_uchar3() [3/10]

__host__ __device__ uchar3 make_uchar3 ( int3  a)
inline

◆ make_uchar3() [4/10]

__host__ __device__ uchar3 make_uchar3 ( uchar  s)
inline

◆ make_uchar3() [5/10]

__host__ __device__ uchar3 make_uchar3 ( uchar3  a)
inline

◆ make_uchar3() [6/10]

__host__ __device__ uchar3 make_uchar3 ( uchar4  a)
inline

◆ make_uchar3() [7/10]

__host__ __device__ uchar3 make_uchar3 ( uint  s)
inline

◆ make_uchar3() [8/10]

__host__ __device__ uchar3 make_uchar3 ( uint2  a)
inline

◆ make_uchar3() [9/10]

__host__ __device__ uchar3 make_uchar3 ( uint2  a,
uint  s 
)
inline

◆ make_uchar3() [10/10]

__host__ __device__ uchar3 make_uchar3 ( uint4  a)
inline

◆ make_uchar4() [1/9]

__host__ __device__ uchar4 make_uchar4 ( float3  a)
inline

◆ make_uchar4() [2/9]

__host__ __device__ uchar4 make_uchar4 ( float4  a)
inline

◆ make_uchar4() [3/9]

__host__ __device__ uchar4 make_uchar4 ( int4  a)
inline

◆ make_uchar4() [4/9]

__host__ __device__ uchar4 make_uchar4 ( uchar  s)
inline

◆ make_uchar4() [5/9]

__host__ __device__ uchar4 make_uchar4 ( uchar3  a)
inline

◆ make_uchar4() [6/9]

__host__ __device__ uchar4 make_uchar4 ( uchar4  a)
inline

◆ make_uchar4() [7/9]

__host__ __device__ uchar4 make_uchar4 ( uint  s)
inline

◆ make_uchar4() [8/9]

__host__ __device__ uchar4 make_uchar4 ( uint3  a)
inline

◆ make_uchar4() [9/9]

__host__ __device__ uchar4 make_uchar4 ( uint3  a,
uint  w 
)
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/42]

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

◆ operator*() [2/42]

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

◆ operator*() [3/42]

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

◆ operator*() [4/42]

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

◆ operator*() [5/42]

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

◆ operator*() [6/42]

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

◆ operator*() [7/42]

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

◆ operator*() [8/42]

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

◆ operator*() [9/42]

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

◆ operator*() [10/42]

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

◆ operator*() [11/42]

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

◆ operator*() [12/42]

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

◆ operator*() [13/42]

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

◆ operator*() [14/42]

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

◆ operator*() [15/42]

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

◆ operator*() [16/42]

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

◆ operator*() [17/42]

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

◆ operator*() [18/42]

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

◆ operator*() [19/42]

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

◆ operator*() [20/42]

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

◆ operator*() [21/42]

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

◆ operator*() [22/42]

__host__ __device__ uchar2 operator* ( uchar  b,
uchar2  a 
)
inline

◆ operator*() [23/42]

__host__ __device__ uchar3 operator* ( uchar  b,
uchar3  a 
)
inline

◆ operator*() [24/42]

__host__ __device__ uchar4 operator* ( uchar  b,
uchar4  a 
)
inline

◆ operator*() [25/42]

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

◆ operator*() [26/42]

__host__ __device__ uchar2 operator* ( uchar2  a,
uchar  b 
)
inline

◆ operator*() [27/42]

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

◆ operator*() [28/42]

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

◆ operator*() [29/42]

__host__ __device__ uchar3 operator* ( uchar3  a,
uchar  b 
)
inline

◆ operator*() [30/42]

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

◆ operator*() [31/42]

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

◆ operator*() [32/42]

__host__ __device__ uchar4 operator* ( uchar4  a,
uchar  b 
)
inline

◆ operator*() [33/42]

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

◆ operator*() [34/42]

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

◆ operator*() [35/42]

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

◆ operator*() [36/42]

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

◆ operator*() [37/42]

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

◆ operator*() [38/42]

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

◆ operator*() [39/42]

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

◆ operator*() [40/42]

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

◆ operator*() [41/42]

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

◆ operator*() [42/42]

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

◆ operator*=() [1/27]

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

◆ operator*=() [2/27]

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

◆ operator*=() [3/27]

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

◆ operator*=() [4/27]

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

◆ operator*=() [5/27]

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

◆ operator*=() [6/27]

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

◆ operator*=() [7/27]

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

◆ operator*=() [8/27]

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

◆ operator*=() [9/27]

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

◆ operator*=() [10/27]

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

◆ operator*=() [11/27]

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

◆ operator*=() [12/27]

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

◆ operator*=() [13/27]

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

◆ operator*=() [14/27]

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

◆ operator*=() [15/27]

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

◆ operator*=() [16/27]

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

◆ operator*=() [17/27]

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

◆ operator*=() [18/27]

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

◆ operator*=() [19/27]

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

◆ operator*=() [20/27]

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

◆ operator*=() [21/27]

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

◆ operator*=() [22/27]

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

◆ operator*=() [23/27]

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

◆ operator*=() [24/27]

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

◆ operator*=() [25/27]

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

◆ operator*=() [26/27]

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

◆ operator*=() [27/27]

__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__ float4 operator+ ( float  b,
float4  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,
float  b 
)
inline

◆ operator+() [7/32]

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

◆ operator+() [8/32]

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

◆ operator+() [9/32]

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

◆ operator+() [10/32]

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

◆ operator+() [11/32]

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

◆ operator+() [12/32]

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

◆ operator+() [13/32]

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

◆ operator+() [14/32]

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

◆ operator+() [15/32]

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

◆ operator+() [16/32]

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

◆ operator+() [17/32]

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

◆ operator+() [18/32]

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

◆ operator+() [19/32]

__host__ __device__ uchar4 operator+ ( uchar  b,
uchar4  a 
)
inline

◆ operator+() [20/32]

__host__ __device__ uchar3 operator+ ( uchar3  a,
uchar  b 
)
inline

◆ operator+() [21/32]

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

◆ operator+() [22/32]

__host__ __device__ uchar4 operator+ ( uchar4  a,
uchar  b 
)
inline

◆ operator+() [23/32]

__host__ __device__ uchar4 operator+ ( uchar4  a,
uchar4  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/22]

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

◆ operator+=() [2/22]

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

◆ operator+=() [3/22]

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

◆ operator+=() [4/22]

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

◆ operator+=() [5/22]

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

◆ operator+=() [6/22]

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

◆ operator+=() [7/22]

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

◆ operator+=() [8/22]

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

◆ operator+=() [9/22]

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

◆ operator+=() [10/22]

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

◆ operator+=() [11/22]

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

◆ operator+=() [12/22]

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

◆ operator+=() [13/22]

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

◆ operator+=() [14/22]

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

◆ operator+=() [15/22]

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

◆ operator+=() [16/22]

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

◆ operator+=() [17/22]

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

◆ operator+=() [18/22]

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

◆ operator+=() [19/22]

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

◆ operator+=() [20/22]

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

◆ operator+=() [21/22]

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

◆ operator+=() [22/22]

__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