NVIDIA DeepStream SDK API Reference

9.2 Release
sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h File Reference

Go to the source code of this file.

Typedefs

typedef unsigned int uint
 
typedef unsigned short ushort
 

Functions

float fminf (float a, float b)
 Compute the component-wise minimum. More...
 
float fmaxf (float a, float b)
 Compute the component-wise maximum. More...
 
int max (int a, int b)
 Compute the component-wise maximum. More...
 
int min (int a, int b)
 Compute the component-wise minimum. More...
 
float rsqrtf (float x)
 Compute the reciprocal square root. More...
 
__host__ __device__ float2 make_float2 (float s)
 Construct a float2 value from the supplied components. More...
 
__host__ __device__ float2 make_float2 (float3 a)
 Construct a float2 value from the supplied components. More...
 
__host__ __device__ float2 make_float2 (int2 a)
 Construct a float2 value from the supplied components. More...
 
__host__ __device__ float2 make_float2 (uint2 a)
 Construct a float2 value from the supplied components. More...
 
__host__ __device__ int2 make_int2 (int s)
 Construct a int2 value from the supplied components. More...
 
__host__ __device__ int2 make_int2 (int3 a)
 Construct a int2 value from the supplied components. More...
 
__host__ __device__ int2 make_int2 (uint2 a)
 Construct a int2 value from the supplied components. More...
 
__host__ __device__ int2 make_int2 (float2 a)
 Construct a int2 value from the supplied components. More...
 
__host__ __device__ uint2 make_uint2 (uint s)
 Construct a uint2 value from the supplied components. More...
 
__host__ __device__ uint2 make_uint2 (uint3 a)
 Construct a uint2 value from the supplied components. More...
 
__host__ __device__ uint2 make_uint2 (int2 a)
 Construct a uint2 value from the supplied components. More...
 
__host__ __device__ float3 make_float3 (float s)
 Construct a float3 value from the supplied components. More...
 
__host__ __device__ float3 make_float3 (float2 a)
 Construct a float3 value from the supplied components. More...
 
__host__ __device__ float3 make_float3 (float2 a, float s)
 Construct a float3 value from the supplied components. More...
 
__host__ __device__ float3 make_float3 (float4 a)
 Construct a float3 value from the supplied components. More...
 
__host__ __device__ float3 make_float3 (int3 a)
 Construct a float3 value from the supplied components. More...
 
__host__ __device__ float3 make_float3 (uint3 a)
 Construct a float3 value from the supplied components. More...
 
__host__ __device__ int3 make_int3 (int s)
 Construct a int3 value from the supplied components. More...
 
__host__ __device__ int3 make_int3 (int2 a)
 Construct a int3 value from the supplied components. More...
 
__host__ __device__ int3 make_int3 (int2 a, int s)
 Construct a int3 value from the supplied components. More...
 
__host__ __device__ int3 make_int3 (uint3 a)
 Construct a int3 value from the supplied components. More...
 
__host__ __device__ int3 make_int3 (float3 a)
 Construct a int3 value from the supplied components. More...
 
__host__ __device__ uint3 make_uint3 (uint s)
 Construct a uint3 value from the supplied components. More...
 
__host__ __device__ uint3 make_uint3 (uint2 a)
 Construct a uint3 value from the supplied components. More...
 
__host__ __device__ uint3 make_uint3 (uint2 a, uint s)
 Construct a uint3 value from the supplied components. More...
 
__host__ __device__ uint3 make_uint3 (uint4 a)
 Construct a uint3 value from the supplied components. More...
 
__host__ __device__ uint3 make_uint3 (int3 a)
 Construct a uint3 value from the supplied components. More...
 
__host__ __device__ float4 make_float4 (float s)
 Construct a float4 value from the supplied components. More...
 
__host__ __device__ float4 make_float4 (float3 a)
 Construct a float4 value from the supplied components. More...
 
__host__ __device__ float4 make_float4 (float3 a, float w)
 Construct a float4 value from the supplied components. More...
 
__host__ __device__ float4 make_float4 (int4 a)
 Construct a float4 value from the supplied components. More...
 
__host__ __device__ float4 make_float4 (uint4 a)
 Construct a float4 value from the supplied components. More...
 
__host__ __device__ int4 make_int4 (int s)
 Construct a int4 value from the supplied components. More...
 
__host__ __device__ int4 make_int4 (int3 a)
 Construct a int4 value from the supplied components. More...
 
__host__ __device__ int4 make_int4 (int3 a, int w)
 Construct a int4 value from the supplied components. More...
 
__host__ __device__ int4 make_int4 (uint4 a)
 Construct a int4 value from the supplied components. More...
 
__host__ __device__ int4 make_int4 (float4 a)
 Construct a int4 value from the supplied components. More...
 
__host__ __device__ uint4 make_uint4 (uint s)
 Construct a uint4 value from the supplied components. More...
 
__host__ __device__ uint4 make_uint4 (uint3 a)
 Construct a uint4 value from the supplied components. More...
 
__host__ __device__ uint4 make_uint4 (uint3 a, uint w)
 Construct a uint4 value from the supplied components. More...
 
__host__ __device__ uint4 make_uint4 (int4 a)
 Construct a uint4 value from the supplied components. More...
 
__host__ __device__ float2 operator- (float2 &a)
 Negate the operand component-wise. More...
 
__host__ __device__ int2 operator- (int2 &a)
 Negate the operand component-wise. More...
 
__host__ __device__ float3 operator- (float3 &a)
 Negate the operand component-wise. More...
 
__host__ __device__ int3 operator- (int3 &a)
 Negate the operand component-wise. More...
 
__host__ __device__ float4 operator- (float4 &a)
 Negate the operand component-wise. More...
 
__host__ __device__ int4 operator- (int4 &a)
 Negate the operand component-wise. More...
 
__host__ __device__ float2 operator+ (float2 a, float2 b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (float2 &a, float2 b)
 Add the second operand to the first in place. More...
 
__host__ __device__ float2 operator+ (float2 a, float b)
 Add two operands component-wise. More...
 
__host__ __device__ float2 operator+ (float b, float2 a)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (float2 &a, float b)
 Add the second operand to the first in place. More...
 
__host__ __device__ int2 operator+ (int2 a, int2 b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (int2 &a, int2 b)
 Add the second operand to the first in place. More...
 
__host__ __device__ int2 operator+ (int2 a, int b)
 Add two operands component-wise. More...
 
__host__ __device__ int2 operator+ (int b, int2 a)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (int2 &a, int b)
 Add the second operand to the first in place. More...
 
__host__ __device__ uint2 operator+ (uint2 a, uint2 b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (uint2 &a, uint2 b)
 Add the second operand to the first in place. More...
 
__host__ __device__ uint2 operator+ (uint2 a, uint b)
 Add two operands component-wise. More...
 
__host__ __device__ uint2 operator+ (uint b, uint2 a)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (uint2 &a, uint b)
 Add the second operand to the first in place. More...
 
__host__ __device__ float3 operator+ (float3 a, float3 b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (float3 &a, float3 b)
 Add the second operand to the first in place. More...
 
__host__ __device__ float3 operator+ (float3 a, float b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (float3 &a, float b)
 Add the second operand to the first in place. More...
 
__host__ __device__ int3 operator+ (int3 a, int3 b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (int3 &a, int3 b)
 Add the second operand to the first in place. More...
 
__host__ __device__ int3 operator+ (int3 a, int b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (int3 &a, int b)
 Add the second operand to the first in place. More...
 
__host__ __device__ uint3 operator+ (uint3 a, uint3 b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (uint3 &a, uint3 b)
 Add the second operand to the first in place. More...
 
__host__ __device__ uint3 operator+ (uint3 a, uint b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (uint3 &a, uint b)
 Add the second operand to the first in place. More...
 
__host__ __device__ int3 operator+ (int b, int3 a)
 Add two operands component-wise. More...
 
__host__ __device__ uint3 operator+ (uint b, uint3 a)
 Add two operands component-wise. More...
 
__host__ __device__ float3 operator+ (float b, float3 a)
 Add two operands component-wise. More...
 
__host__ __device__ float4 operator+ (float4 a, float4 b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (float4 &a, float4 b)
 Add the second operand to the first in place. More...
 
__host__ __device__ float4 operator+ (float4 a, float b)
 Add two operands component-wise. More...
 
__host__ __device__ float4 operator+ (float b, float4 a)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (float4 &a, float b)
 Add the second operand to the first in place. More...
 
__host__ __device__ int4 operator+ (int4 a, int4 b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (int4 &a, int4 b)
 Add the second operand to the first in place. More...
 
__host__ __device__ int4 operator+ (int4 a, int b)
 Add two operands component-wise. More...
 
__host__ __device__ int4 operator+ (int b, int4 a)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (int4 &a, int b)
 Add the second operand to the first in place. More...
 
__host__ __device__ uint4 operator+ (uint4 a, uint4 b)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (uint4 &a, uint4 b)
 Add the second operand to the first in place. More...
 
__host__ __device__ uint4 operator+ (uint4 a, uint b)
 Add two operands component-wise. More...
 
__host__ __device__ uint4 operator+ (uint b, uint4 a)
 Add two operands component-wise. More...
 
__host__ __device__ void operator+= (uint4 &a, uint b)
 Add the second operand to the first in place. More...
 
__host__ __device__ float2 operator- (float2 a, float2 b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (float2 &a, float2 b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ float2 operator- (float2 a, float b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ float2 operator- (float b, float2 a)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (float2 &a, float b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ int2 operator- (int2 a, int2 b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (int2 &a, int2 b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ int2 operator- (int2 a, int b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ int2 operator- (int b, int2 a)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (int2 &a, int b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ uint2 operator- (uint2 a, uint2 b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (uint2 &a, uint2 b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ uint2 operator- (uint2 a, uint b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ uint2 operator- (uint b, uint2 a)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (uint2 &a, uint b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ float3 operator- (float3 a, float3 b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (float3 &a, float3 b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ float3 operator- (float3 a, float b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ float3 operator- (float b, float3 a)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (float3 &a, float b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ int3 operator- (int3 a, int3 b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (int3 &a, int3 b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ int3 operator- (int3 a, int b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ int3 operator- (int b, int3 a)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (int3 &a, int b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ uint3 operator- (uint3 a, uint3 b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (uint3 &a, uint3 b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ uint3 operator- (uint3 a, uint b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ uint3 operator- (uint b, uint3 a)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (uint3 &a, uint b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ float4 operator- (float4 a, float4 b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (float4 &a, float4 b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ float4 operator- (float4 a, float b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (float4 &a, float b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ int4 operator- (int4 a, int4 b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (int4 &a, int4 b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ int4 operator- (int4 a, int b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ int4 operator- (int b, int4 a)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (int4 &a, int b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ uint4 operator- (uint4 a, uint4 b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (uint4 &a, uint4 b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ uint4 operator- (uint4 a, uint b)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ uint4 operator- (uint b, uint4 a)
 Subtract the second operand from the first component-wise. More...
 
__host__ __device__ void operator-= (uint4 &a, uint b)
 Subtract the second operand from the first in place. More...
 
__host__ __device__ float2 operator* (float2 a, float2 b)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (float2 &a, float2 b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ float2 operator* (float2 a, float b)
 Multiply two operands component-wise. More...
 
__host__ __device__ float2 operator* (float b, float2 a)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (float2 &a, float b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ int2 operator* (int2 a, int2 b)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (int2 &a, int2 b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ int2 operator* (int2 a, int b)
 Multiply two operands component-wise. More...
 
__host__ __device__ int2 operator* (int b, int2 a)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (int2 &a, int b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ uint2 operator* (uint2 a, uint2 b)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (uint2 &a, uint2 b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ uint2 operator* (uint2 a, uint b)
 Multiply two operands component-wise. More...
 
__host__ __device__ uint2 operator* (uint b, uint2 a)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (uint2 &a, uint b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ float3 operator* (float3 a, float3 b)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (float3 &a, float3 b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ float3 operator* (float3 a, float b)
 Multiply two operands component-wise. More...
 
__host__ __device__ float3 operator* (float b, float3 a)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (float3 &a, float b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ int3 operator* (int3 a, int3 b)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (int3 &a, int3 b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ int3 operator* (int3 a, int b)
 Multiply two operands component-wise. More...
 
__host__ __device__ int3 operator* (int b, int3 a)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (int3 &a, int b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ uint3 operator* (uint3 a, uint3 b)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (uint3 &a, uint3 b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ uint3 operator* (uint3 a, uint b)
 Multiply two operands component-wise. More...
 
__host__ __device__ uint3 operator* (uint b, uint3 a)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (uint3 &a, uint b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ float4 operator* (float4 a, float4 b)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (float4 &a, float4 b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ float4 operator* (float4 a, float b)
 Multiply two operands component-wise. More...
 
__host__ __device__ float4 operator* (float b, float4 a)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (float4 &a, float b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ int4 operator* (int4 a, int4 b)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (int4 &a, int4 b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ int4 operator* (int4 a, int b)
 Multiply two operands component-wise. More...
 
__host__ __device__ int4 operator* (int b, int4 a)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (int4 &a, int b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ uint4 operator* (uint4 a, uint4 b)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (uint4 &a, uint4 b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ uint4 operator* (uint4 a, uint b)
 Multiply two operands component-wise. More...
 
__host__ __device__ uint4 operator* (uint b, uint4 a)
 Multiply two operands component-wise. More...
 
__host__ __device__ void operator*= (uint4 &a, uint b)
 Multiply the first operand by the second in place. More...
 
__host__ __device__ float2 operator/ (float2 a, float2 b)
 Divide the first operand by the second component-wise. More...
 
__host__ __device__ void operator/= (float2 &a, float2 b)
 Divide the first operand by the second in place. More...
 
__host__ __device__ float2 operator/ (float2 a, float b)
 Divide the first operand by the second component-wise. More...
 
__host__ __device__ void operator/= (float2 &a, float b)
 Divide the first operand by the second in place. More...
 
__host__ __device__ float2 operator/ (float b, float2 a)
 Divide the first operand by the second component-wise. More...
 
__host__ __device__ float3 operator/ (float3 a, float3 b)
 Divide the first operand by the second component-wise. More...
 
__host__ __device__ void operator/= (float3 &a, float3 b)
 Divide the first operand by the second in place. More...
 
__host__ __device__ float3 operator/ (float3 a, float b)
 Divide the first operand by the second component-wise. More...
 
__host__ __device__ void operator/= (float3 &a, float b)
 Divide the first operand by the second in place. More...
 
__host__ __device__ float3 operator/ (float b, float3 a)
 Divide the first operand by the second component-wise. More...
 
__host__ __device__ float4 operator/ (float4 a, float4 b)
 Divide the first operand by the second component-wise. More...
 
__host__ __device__ void operator/= (float4 &a, float4 b)
 Divide the first operand by the second in place. More...
 
__host__ __device__ float4 operator/ (float4 a, float b)
 Divide the first operand by the second component-wise. More...
 
__host__ __device__ void operator/= (float4 &a, float b)
 Divide the first operand by the second in place. More...
 
__host__ __device__ float4 operator/ (float b, float4 a)
 Divide the first operand by the second component-wise. More...
 
__host__ __device__ float2 fminf (float2 a, float2 b)
 Compute the component-wise minimum. More...
 
__host__ __device__ float3 fminf (float3 a, float3 b)
 Compute the component-wise minimum. More...
 
__host__ __device__ float4 fminf (float4 a, float4 b)
 Compute the component-wise minimum. More...
 
__host__ __device__ int2 min (int2 a, int2 b)
 Compute the component-wise minimum. More...
 
__host__ __device__ int3 min (int3 a, int3 b)
 Compute the component-wise minimum. More...
 
__host__ __device__ int4 min (int4 a, int4 b)
 Compute the component-wise minimum. More...
 
__host__ __device__ uint2 min (uint2 a, uint2 b)
 Compute the component-wise minimum. More...
 
__host__ __device__ uint3 min (uint3 a, uint3 b)
 Compute the component-wise minimum. More...
 
__host__ __device__ uint4 min (uint4 a, uint4 b)
 Compute the component-wise minimum. More...
 
__host__ __device__ float2 fmaxf (float2 a, float2 b)
 Compute the component-wise maximum. More...
 
__host__ __device__ float3 fmaxf (float3 a, float3 b)
 Compute the component-wise maximum. More...
 
__host__ __device__ float4 fmaxf (float4 a, float4 b)
 Compute the component-wise maximum. More...
 
__host__ __device__ int2 max (int2 a, int2 b)
 Compute the component-wise maximum. More...
 
__host__ __device__ int3 max (int3 a, int3 b)
 Compute the component-wise maximum. More...
 
__host__ __device__ int4 max (int4 a, int4 b)
 Compute the component-wise maximum. More...
 
__host__ __device__ uint2 max (uint2 a, uint2 b)
 Compute the component-wise maximum. More...
 
__host__ __device__ uint3 max (uint3 a, uint3 b)
 Compute the component-wise maximum. More...
 
__host__ __device__ uint4 max (uint4 a, uint4 b)
 Compute the component-wise maximum. More...
 
__device__ __host__ float lerp (float a, float b, float t)
 Linearly interpolate between two values. More...
 
__device__ __host__ float2 lerp (float2 a, float2 b, float t)
 Linearly interpolate between two values. More...
 
__device__ __host__ float3 lerp (float3 a, float3 b, float t)
 Linearly interpolate between two values. More...
 
__device__ __host__ float4 lerp (float4 a, float4 b, float t)
 Linearly interpolate between two values. More...
 
__device__ __host__ float clamp (float f, float a, float b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ int clamp (int f, int a, int b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ uint clamp (uint f, uint a, uint b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ float2 clamp (float2 v, float a, float b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ float2 clamp (float2 v, float2 a, float2 b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ float3 clamp (float3 v, float a, float b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ float3 clamp (float3 v, float3 a, float3 b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ float4 clamp (float4 v, float a, float b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ float4 clamp (float4 v, float4 a, float4 b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ int2 clamp (int2 v, int a, int b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ int2 clamp (int2 v, int2 a, int2 b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ int3 clamp (int3 v, int a, int b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ int3 clamp (int3 v, int3 a, int3 b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ int4 clamp (int4 v, int a, int b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ int4 clamp (int4 v, int4 a, int4 b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ uint2 clamp (uint2 v, uint a, uint b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ uint2 clamp (uint2 v, uint2 a, uint2 b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ uint3 clamp (uint3 v, uint a, uint b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ uint3 clamp (uint3 v, uint3 a, uint3 b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ uint4 clamp (uint4 v, uint a, uint b)
 Clamp a value between lower and upper bounds. More...
 
__device__ __host__ uint4 clamp (uint4 v, uint4 a, uint4 b)
 Clamp a value between lower and upper bounds. More...
 
__host__ __device__ float dot (float2 a, float2 b)
 Compute the dot product of two vectors. More...
 
__host__ __device__ float dot (float3 a, float3 b)
 Compute the dot product of two vectors. More...
 
__host__ __device__ float dot (float4 a, float4 b)
 Compute the dot product of two vectors. More...
 
__host__ __device__ int dot (int2 a, int2 b)
 Compute the dot product of two vectors. More...
 
__host__ __device__ int dot (int3 a, int3 b)
 Compute the dot product of two vectors. More...
 
__host__ __device__ int dot (int4 a, int4 b)
 Compute the dot product of two vectors. More...
 
__host__ __device__ uint dot (uint2 a, uint2 b)
 Compute the dot product of two vectors. More...
 
__host__ __device__ uint dot (uint3 a, uint3 b)
 Compute the dot product of two vectors. More...
 
__host__ __device__ uint dot (uint4 a, uint4 b)
 Compute the dot product of two vectors. More...
 
__host__ __device__ float length (float2 v)
 Compute the Euclidean length of a vector. More...
 
__host__ __device__ float length (float3 v)
 Compute the Euclidean length of a vector. More...
 
__host__ __device__ float length (float4 v)
 Compute the Euclidean length of a vector. More...
 
__host__ __device__ float2 normalize (float2 v)
 Normalize a vector to unit length. More...
 
__host__ __device__ float3 normalize (float3 v)
 Normalize a vector to unit length. More...
 
__host__ __device__ float4 normalize (float4 v)
 Normalize a vector to unit length. More...
 
__host__ __device__ float2 floorf (float2 v)
 Apply the floor operation component-wise. More...
 
__host__ __device__ float3 floorf (float3 v)
 Apply the floor operation component-wise. More...
 
__host__ __device__ float4 floorf (float4 v)
 Apply the floor operation component-wise. More...
 
__host__ __device__ float fracf (float v)
 Compute the fractional part component-wise. More...
 
__host__ __device__ float2 fracf (float2 v)
 Compute the fractional part component-wise. More...
 
__host__ __device__ float3 fracf (float3 v)
 Compute the fractional part component-wise. More...
 
__host__ __device__ float4 fracf (float4 v)
 Compute the fractional part component-wise. More...
 
__host__ __device__ float2 fmodf (float2 a, float2 b)
 Compute the floating-point remainder component-wise. More...
 
__host__ __device__ float3 fmodf (float3 a, float3 b)
 Compute the floating-point remainder component-wise. More...
 
__host__ __device__ float4 fmodf (float4 a, float4 b)
 Compute the floating-point remainder component-wise. More...
 
__host__ __device__ float2 fabs (float2 v)
 Compute the absolute value component-wise. More...
 
__host__ __device__ float3 fabs (float3 v)
 Compute the absolute value component-wise. More...
 
__host__ __device__ float4 fabs (float4 v)
 Compute the absolute value component-wise. More...
 
__host__ __device__ int2 abs (int2 v)
 Compute the absolute value component-wise. More...
 
__host__ __device__ int3 abs (int3 v)
 Compute the absolute value component-wise. More...
 
__host__ __device__ int4 abs (int4 v)
 Compute the absolute value component-wise. More...
 
__host__ __device__ float3 reflect (float3 i, float3 n)
 Reflect an incident vector about a normal. More...
 
__host__ __device__ float3 cross (float3 a, float3 b)
 Compute the cross product of two vectors. More...
 
__device__ __host__ float smoothstep (float a, float b, float x)
 Apply smooth Hermite interpolation between two edges. More...
 
__device__ __host__ float2 smoothstep (float2 a, float2 b, float2 x)
 Apply smooth Hermite interpolation between two edges. More...
 
__device__ __host__ float3 smoothstep (float3 a, float3 b, float3 x)
 Apply smooth Hermite interpolation between two edges. More...
 
__device__ __host__ float4 smoothstep (float4 a, float4 b, float4 x)
 Apply smooth Hermite interpolation between two edges. More...
 

Typedef Documentation

◆ uint

typedef unsigned int uint

◆ ushort

typedef unsigned short ushort

Function Documentation

◆ abs() [1/3]

__host__ __device__ int2 abs ( int2  v)
inline

Compute the absolute value component-wise.

Parameters
[in]vThe input vector.

Definition at line 2918 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

Referenced by abs().

◆ abs() [2/3]

__host__ __device__ int3 abs ( int3  v)
inline

Compute the absolute value component-wise.

Parameters
[in]vThe input vector.

Definition at line 2927 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References abs(), and make_int3().

◆ abs() [3/3]

__host__ __device__ int4 abs ( int4  v)
inline

Compute the absolute value component-wise.

Parameters
[in]vThe input vector.

Definition at line 2936 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References abs(), and make_int4().

◆ clamp() [1/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]fThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2394 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fmaxf(), and fminf().

Referenced by clamp(), and smoothstep().

◆ clamp() [2/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2427 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_float2().

◆ clamp() [3/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2438 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_float2().

◆ clamp() [4/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2449 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_float3().

◆ clamp() [5/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2460 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_float3().

◆ clamp() [6/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2471 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_float4().

◆ clamp() [7/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2482 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_float4().

◆ clamp() [8/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]fThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2405 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References max(), and min().

◆ clamp() [9/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2493 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_int2().

◆ clamp() [10/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2504 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_int2().

◆ clamp() [11/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2515 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_int3().

◆ clamp() [12/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2526 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_int3().

◆ clamp() [13/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2537 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_int4().

◆ clamp() [14/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2548 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_int4().

◆ clamp() [15/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]fThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2416 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References max(), and min().

◆ clamp() [16/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2559 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_uint2().

◆ clamp() [17/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2570 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_uint2().

◆ clamp() [18/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2581 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_uint3().

◆ clamp() [19/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2592 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_uint3().

◆ clamp() [20/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2603 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_uint4().

◆ clamp() [21/21]

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

Clamp a value between lower and upper bounds.

Parameters
[in]vThe value to clamp.
[in]aThe lower bound.
[in]bThe upper bound.

Definition at line 2614 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_uint4().

◆ cross()

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

Compute the cross product of two vectors.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2964 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ dot() [1/9]

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

Compute the dot product of two vectors.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2628 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by length(), normalize(), and reflect().

◆ dot() [2/9]

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

Compute the dot product of two vectors.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2638 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ dot() [3/9]

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

Compute the dot product of two vectors.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2648 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ dot() [4/9]

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

Compute the dot product of two vectors.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2658 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ dot() [5/9]

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

Compute the dot product of two vectors.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2668 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ dot() [6/9]

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

Compute the dot product of two vectors.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2678 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ dot() [7/9]

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

Compute the dot product of two vectors.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2688 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ dot() [8/9]

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

Compute the dot product of two vectors.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2698 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ dot() [9/9]

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

Compute the dot product of two vectors.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2708 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ fabs() [1/3]

__host__ __device__ float2 fabs ( float2  v)
inline

Compute the absolute value component-wise.

Parameters
[in]vThe input vector.

Definition at line 2891 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

Referenced by fabs(), ds3d::isNear(), next_pixel_in_line(), operator==(), and rs2_deproject_pixel_to_point().

◆ fabs() [2/3]

__host__ __device__ float3 fabs ( float3  v)
inline

Compute the absolute value component-wise.

Parameters
[in]vThe input vector.

Definition at line 2900 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fabs(), and make_float3().

◆ fabs() [3/3]

__host__ __device__ float4 fabs ( float4  v)
inline

Compute the absolute value component-wise.

Parameters
[in]vThe input vector.

Definition at line 2909 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fabs(), and make_float4().

◆ floorf() [1/3]

__host__ __device__ float2 floorf ( float2  v)
inline

Apply the floor operation component-wise.

Parameters
[in]vThe input vector.

Definition at line 2786 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

Referenced by CV_FUNCS::computeSearchRegion(), floorf(), and fracf().

◆ floorf() [2/3]

__host__ __device__ float3 floorf ( float3  v)
inline

Apply the floor operation component-wise.

Parameters
[in]vThe input vector.

Definition at line 2795 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References floorf(), and make_float3().

◆ floorf() [3/3]

__host__ __device__ float4 floorf ( float4  v)
inline

Apply the floor operation component-wise.

Parameters
[in]vThe input vector.

Definition at line 2804 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References floorf(), and make_float4().

◆ fmaxf() [1/4]

float fmaxf ( float  a,
float  b 
)
inline

Compute the component-wise maximum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 50 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by clamp(), and fmaxf().

◆ fmaxf() [2/4]

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

Compute the component-wise maximum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2251 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fmaxf(), and make_float2().

◆ fmaxf() [3/4]

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

Compute the component-wise maximum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2261 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fmaxf(), and make_float3().

◆ fmaxf() [4/4]

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

Compute the component-wise maximum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2271 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fmaxf(), and make_float4().

◆ fminf() [1/4]

float fminf ( float  a,
float  b 
)
inline

Compute the component-wise minimum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 40 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by clamp(), and fminf().

◆ fminf() [2/4]

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

Compute the component-wise minimum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2157 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fminf(), and make_float2().

◆ fminf() [3/4]

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

Compute the component-wise minimum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2167 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fminf(), and make_float3().

◆ fminf() [4/4]

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

Compute the component-wise minimum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2177 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fminf(), and make_float4().

◆ fmodf() [1/3]

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

Compute the floating-point remainder component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2858 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

Referenced by fmodf().

◆ fmodf() [2/3]

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

Compute the floating-point remainder component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2868 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fmodf(), and make_float3().

◆ fmodf() [3/3]

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

Compute the floating-point remainder component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2878 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fmodf(), and make_float4().

◆ fracf() [1/4]

__host__ __device__ float fracf ( float  v)
inline

Compute the fractional part component-wise.

Parameters
[in]vThe input vector.

Definition at line 2817 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References floorf().

Referenced by fracf().

◆ fracf() [2/4]

__host__ __device__ float2 fracf ( float2  v)
inline

Compute the fractional part component-wise.

Parameters
[in]vThe input vector.

Definition at line 2826 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fracf(), and make_float2().

◆ fracf() [3/4]

__host__ __device__ float3 fracf ( float3  v)
inline

Compute the fractional part component-wise.

Parameters
[in]vThe input vector.

Definition at line 2835 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fracf(), and make_float3().

◆ fracf() [4/4]

__host__ __device__ float4 fracf ( float4  v)
inline

Compute the fractional part component-wise.

Parameters
[in]vThe input vector.

Definition at line 2844 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References fracf(), and make_float4().

◆ length() [1/3]

◆ length() [2/3]

__host__ __device__ float length ( float3  v)
inline

Compute the Euclidean length of a vector.

Parameters
[in]vThe input vector.

Definition at line 2730 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References dot().

◆ length() [3/3]

__host__ __device__ float length ( float4  v)
inline

Compute the Euclidean length of a vector.

Parameters
[in]vThe input vector.

Definition at line 2739 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References dot().

◆ lerp() [1/4]

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

Linearly interpolate between two values.

Parameters
[in]aThe starting value.
[in]bThe ending value.
[in]tThe interpolation coefficient.

Definition at line 2346 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ lerp() [2/4]

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

Linearly interpolate between two values.

Parameters
[in]aThe starting value.
[in]bThe ending value.
[in]tThe interpolation coefficient.

Definition at line 2357 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ lerp() [3/4]

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

Linearly interpolate between two values.

Parameters
[in]aThe starting value.
[in]bThe ending value.
[in]tThe interpolation coefficient.

Definition at line 2368 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ lerp() [4/4]

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

Linearly interpolate between two values.

Parameters
[in]aThe starting value.
[in]bThe ending value.
[in]tThe interpolation coefficient.

Definition at line 2379 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ make_float2() [1/4]

__host__ __device__ float2 make_float2 ( float  s)
inline

Construct a float2 value from the supplied components.

Parameters
[in]sThe scalar component value.

Definition at line 93 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by clamp(), fabs(), floorf(), fmaxf(), fminf(), fmodf(), fracf(), make_float2(), operator*(), operator+(), operator-(), operator/(), and smoothstep().

◆ make_float2() [2/4]

__host__ __device__ float2 make_float2 ( float3  a)
inline

Construct a float2 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 102 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ make_float2() [3/4]

__host__ __device__ float2 make_float2 ( int2  a)
inline

Construct a float2 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 111 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ make_float2() [4/4]

__host__ __device__ float2 make_float2 ( uint2  a)
inline

Construct a float2 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 120 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ make_float3() [1/6]

__host__ __device__ float3 make_float3 ( float  s)
inline

Construct a float3 value from the supplied components.

Parameters
[in]sThe scalar component value.

Definition at line 192 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by clamp(), cross(), fabs(), floorf(), fmaxf(), fminf(), fmodf(), fracf(), make_float3(), operator*(), operator+(), operator-(), operator/(), and smoothstep().

◆ make_float3() [2/6]

__host__ __device__ float3 make_float3 ( float2  a)
inline

Construct a float3 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 201 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ make_float3() [3/6]

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

Construct a float3 value from the supplied components.

Parameters
[in]aThe source vector.
[in]sThe scalar component value.

Definition at line 211 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ make_float3() [4/6]

__host__ __device__ float3 make_float3 ( float4  a)
inline

Construct a float3 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 220 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ make_float3() [5/6]

__host__ __device__ float3 make_float3 ( int3  a)
inline

Construct a float3 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 229 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ make_float3() [6/6]

__host__ __device__ float3 make_float3 ( uint3  a)
inline

Construct a float3 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 238 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ make_float4() [1/5]

__host__ __device__ float4 make_float4 ( float  s)
inline

Construct a float4 value from the supplied components.

Parameters
[in]sThe scalar component value.

Definition at line 339 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by clamp(), fabs(), floorf(), fmaxf(), fminf(), fmodf(), fracf(), make_float4(), operator*(), operator+(), operator-(), operator/(), and smoothstep().

◆ make_float4() [2/5]

__host__ __device__ float4 make_float4 ( float3  a)
inline

Construct a float4 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 348 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ make_float4() [3/5]

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

Construct a float4 value from the supplied components.

Parameters
[in]aThe source vector.
[in]wThe fourth component value.

Definition at line 358 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ make_float4() [4/5]

__host__ __device__ float4 make_float4 ( int4  a)
inline

Construct a float4 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 367 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ make_float4() [5/5]

__host__ __device__ float4 make_float4 ( uint4  a)
inline

Construct a float4 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 376 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ make_int2() [1/4]

__host__ __device__ int2 make_int2 ( float2  a)
inline

Construct a int2 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 156 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ make_int2() [2/4]

__host__ __device__ int2 make_int2 ( int  s)
inline

Construct a int2 value from the supplied components.

Parameters
[in]sThe scalar component value.

Definition at line 129 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by abs(), clamp(), make_int2(), max(), min(), operator*(), operator+(), and operator-().

◆ make_int2() [3/4]

__host__ __device__ int2 make_int2 ( int3  a)
inline

Construct a int2 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 138 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ make_int2() [4/4]

__host__ __device__ int2 make_int2 ( uint2  a)
inline

Construct a int2 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 147 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ make_int3() [1/5]

__host__ __device__ int3 make_int3 ( float3  a)
inline

Construct a int3 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 284 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ make_int3() [2/5]

__host__ __device__ int3 make_int3 ( int  s)
inline

Construct a int3 value from the supplied components.

Parameters
[in]sThe scalar component value.

Definition at line 247 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by abs(), clamp(), make_int3(), max(), min(), operator*(), operator+(), and operator-().

◆ make_int3() [3/5]

__host__ __device__ int3 make_int3 ( int2  a)
inline

Construct a int3 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 256 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ make_int3() [4/5]

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

Construct a int3 value from the supplied components.

Parameters
[in]aThe source vector.
[in]sThe scalar component value.

Definition at line 266 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ make_int3() [5/5]

__host__ __device__ int3 make_int3 ( uint3  a)
inline

Construct a int3 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 275 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ make_int4() [1/5]

__host__ __device__ int4 make_int4 ( float4  a)
inline

Construct a int4 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 422 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ make_int4() [2/5]

__host__ __device__ int4 make_int4 ( int  s)
inline

Construct a int4 value from the supplied components.

Parameters
[in]sThe scalar component value.

Definition at line 385 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by abs(), clamp(), make_int4(), max(), min(), operator*(), operator+(), and operator-().

◆ make_int4() [3/5]

__host__ __device__ int4 make_int4 ( int3  a)
inline

Construct a int4 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 394 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ make_int4() [4/5]

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

Construct a int4 value from the supplied components.

Parameters
[in]aThe source vector.
[in]wThe fourth component value.

Definition at line 404 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ make_int4() [5/5]

__host__ __device__ int4 make_int4 ( uint4  a)
inline

Construct a int4 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 413 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ make_uint2() [1/3]

__host__ __device__ uint2 make_uint2 ( int2  a)
inline

Construct a uint2 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 183 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2().

◆ make_uint2() [2/3]

__host__ __device__ uint2 make_uint2 ( uint  s)
inline

Construct a uint2 value from the supplied components.

Parameters
[in]sThe scalar component value.

Definition at line 165 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by clamp(), make_uint2(), max(), min(), operator*(), operator+(), and operator-().

◆ make_uint2() [3/3]

__host__ __device__ uint2 make_uint2 ( uint3  a)
inline

Construct a uint2 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 174 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2().

◆ make_uint3() [1/5]

__host__ __device__ uint3 make_uint3 ( int3  a)
inline

Construct a uint3 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 330 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ make_uint3() [2/5]

__host__ __device__ uint3 make_uint3 ( uint  s)
inline

Construct a uint3 value from the supplied components.

Parameters
[in]sThe scalar component value.

Definition at line 293 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by clamp(), make_uint3(), max(), min(), operator*(), operator+(), and operator-().

◆ make_uint3() [3/5]

__host__ __device__ uint3 make_uint3 ( uint2  a)
inline

Construct a uint3 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 302 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ make_uint3() [4/5]

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

Construct a uint3 value from the supplied components.

Parameters
[in]aThe source vector.
[in]sThe scalar component value.

Definition at line 312 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ make_uint3() [5/5]

__host__ __device__ uint3 make_uint3 ( uint4  a)
inline

Construct a uint3 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 321 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ make_uint4() [1/4]

__host__ __device__ uint4 make_uint4 ( int4  a)
inline

Construct a uint4 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 459 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ make_uint4() [2/4]

__host__ __device__ uint4 make_uint4 ( uint  s)
inline

Construct a uint4 value from the supplied components.

Parameters
[in]sThe scalar component value.

Definition at line 431 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by clamp(), make_uint4(), max(), min(), operator*(), operator+(), and operator-().

◆ make_uint4() [3/4]

__host__ __device__ uint4 make_uint4 ( uint3  a)
inline

Construct a uint4 value from the supplied components.

Parameters
[in]aThe source vector.

Definition at line 440 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ make_uint4() [4/4]

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

Construct a uint4 value from the supplied components.

Parameters
[in]aThe source vector.
[in]wThe fourth component value.

Definition at line 450 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ max() [1/7]

◆ max() [2/7]

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

Compute the component-wise maximum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2281 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2(), and max().

◆ max() [3/7]

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

Compute the component-wise maximum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2291 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3(), and max().

◆ max() [4/7]

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

Compute the component-wise maximum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2301 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4(), and max().

◆ max() [5/7]

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

Compute the component-wise maximum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2311 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2(), and max().

◆ max() [6/7]

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

Compute the component-wise maximum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2321 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3(), and max().

◆ max() [7/7]

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

Compute the component-wise maximum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2331 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4(), and max().

◆ min() [1/7]

◆ min() [2/7]

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

Compute the component-wise minimum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2187 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2(), and min().

◆ min() [3/7]

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

Compute the component-wise minimum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2197 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3(), and min().

◆ min() [4/7]

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

Compute the component-wise minimum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2207 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4(), and min().

◆ min() [5/7]

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

Compute the component-wise minimum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2217 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2(), and min().

◆ min() [6/7]

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

Compute the component-wise minimum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2227 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3(), and min().

◆ min() [7/7]

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

Compute the component-wise minimum.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2237 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4(), and min().

◆ normalize() [1/3]

__host__ __device__ float2 normalize ( float2  v)
inline

◆ normalize() [2/3]

__host__ __device__ float3 normalize ( float3  v)
inline

Normalize a vector to unit length.

Parameters
[in]vThe input vector.

Definition at line 2762 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References dot(), and rsqrtf().

◆ normalize() [3/3]

__host__ __device__ float4 normalize ( float4  v)
inline

Normalize a vector to unit length.

Parameters
[in]vThe input vector.

Definition at line 2772 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References dot(), and rsqrtf().

◆ operator*() [1/27]

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

Multiply two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1532 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator*() [2/27]

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

Multiply two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1689 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator*() [3/27]

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

Multiply two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1852 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator*() [4/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1522 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator*() [5/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1501 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator*() [6/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1679 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator*() [7/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1657 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator*() [8/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1842 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator*() [9/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1819 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator*() [10/27]

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

Multiply two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1584 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ operator*() [11/27]

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

Multiply two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1743 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ operator*() [12/27]

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

Multiply two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1908 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ operator*() [13/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1574 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ operator*() [14/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1553 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ operator*() [15/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1733 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ operator*() [16/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1711 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ operator*() [17/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1898 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ operator*() [18/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1875 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ operator*() [19/27]

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

Multiply two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1636 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2().

◆ operator*() [20/27]

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

Multiply two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1797 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ operator*() [21/27]

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

Multiply two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1964 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ operator*() [22/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1626 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2().

◆ operator*() [23/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1605 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2().

◆ operator*() [24/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1787 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ operator*() [25/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1765 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ operator*() [26/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1954 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ operator*() [27/27]

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

Multiply two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1931 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ operator*=() [1/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1542 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [2/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1511 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [3/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1699 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [4/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1667 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [5/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1862 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [6/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1829 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [7/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1594 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [8/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1563 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [9/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1753 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [10/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1721 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [11/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1918 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [12/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1885 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [13/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1646 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [14/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1615 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [15/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1807 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [16/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1775 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [17/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1974 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator*=() [18/18]

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

Multiply the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1941 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+() [1/27]

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

Add two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 562 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator+() [2/27]

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

Add two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 839 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator+() [3/27]

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

Add two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 882 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator+() [4/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 552 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator+() [5/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 531 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator+() [6/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 709 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator+() [7/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 687 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator+() [8/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 872 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator+() [9/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 849 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator+() [10/27]

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

Add two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 614 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ operator+() [11/27]

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

Add two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 819 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ operator+() [12/27]

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

Add two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 938 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ operator+() [13/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 604 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ operator+() [14/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 583 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ operator+() [15/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 753 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ operator+() [16/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 731 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ operator+() [17/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 928 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ operator+() [18/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 905 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ operator+() [19/27]

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

Add two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 666 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2().

◆ operator+() [20/27]

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

Add two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 829 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ operator+() [21/27]

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

Add two operands component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 994 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ operator+() [22/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 656 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2().

◆ operator+() [23/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 635 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2().

◆ operator+() [24/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 797 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ operator+() [25/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 775 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ operator+() [26/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 984 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ operator+() [27/27]

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

Add two operands component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 961 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ operator+=() [1/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 572 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [2/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 541 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [3/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 719 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [4/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 697 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [5/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 892 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [6/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 859 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [7/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 624 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [8/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 593 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [9/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 763 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [10/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 741 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [11/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 948 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [12/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 915 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [13/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 676 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [14/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 645 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [15/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 807 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [16/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 785 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [17/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1004 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator+=() [18/18]

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

Add the second operand to the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 971 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-() [1/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1052 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator-() [2/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1209 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator-() [3/32]

__host__ __device__ float2 operator- ( float2 &  a)
inline

Negate the operand component-wise.

Parameters
[in]aThe first operand.

Definition at line 472 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator-() [4/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1042 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator-() [5/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1021 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator-() [6/32]

__host__ __device__ float3 operator- ( float3 &  a)
inline

Negate the operand component-wise.

Parameters
[in]aThe first operand.

Definition at line 490 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator-() [7/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1199 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator-() [8/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1177 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator-() [9/32]

__host__ __device__ float4 operator- ( float4 &  a)
inline

Negate the operand component-wise.

Parameters
[in]aThe first operand.

Definition at line 508 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator-() [10/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1362 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator-() [11/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1339 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator-() [12/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1104 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ operator-() [13/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1263 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ operator-() [14/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1418 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ operator-() [15/32]

__host__ __device__ int2 operator- ( int2 &  a)
inline

Negate the operand component-wise.

Parameters
[in]aThe first operand.

Definition at line 481 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ operator-() [16/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1094 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ operator-() [17/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1073 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int2().

◆ operator-() [18/32]

__host__ __device__ int3 operator- ( int3 &  a)
inline

Negate the operand component-wise.

Parameters
[in]aThe first operand.

Definition at line 499 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ operator-() [19/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1253 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ operator-() [20/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1231 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int3().

◆ operator-() [21/32]

__host__ __device__ int4 operator- ( int4 &  a)
inline

Negate the operand component-wise.

Parameters
[in]aThe first operand.

Definition at line 517 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ operator-() [22/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1408 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ operator-() [23/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1385 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_int4().

◆ operator-() [24/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1156 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2().

◆ operator-() [25/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1317 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ operator-() [26/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 1474 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ operator-() [27/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1146 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2().

◆ operator-() [28/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1125 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint2().

◆ operator-() [29/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1307 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ operator-() [30/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1285 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint3().

◆ operator-() [31/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1464 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ operator-() [32/32]

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

Subtract the second operand from the first component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1441 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_uint4().

◆ operator-=() [1/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1062 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [2/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1031 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [3/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1219 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [4/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1187 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [5/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1372 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [6/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1349 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [7/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1114 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [8/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1083 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [9/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1273 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [10/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1241 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [11/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1428 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [12/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1395 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [13/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1166 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [14/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1135 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [15/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1327 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [16/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1295 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [17/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1484 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator-=() [18/18]

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

Subtract the second operand from the first in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 1451 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator/() [1/9]

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

Divide the first operand by the second component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 2033 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator/() [2/9]

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

Divide the first operand by the second component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 2087 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator/() [3/9]

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

Divide the first operand by the second component-wise.

Parameters
[in]bThe second operand.
[in]aThe first operand.

Definition at line 2143 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator/() [4/9]

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

Divide the first operand by the second component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2012 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator/() [5/9]

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

Divide the first operand by the second component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 1991 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float2().

◆ operator/() [6/9]

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

Divide the first operand by the second component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2065 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator/() [7/9]

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

Divide the first operand by the second component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2043 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float3().

◆ operator/() [8/9]

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

Divide the first operand by the second component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2120 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator/() [9/9]

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

Divide the first operand by the second component-wise.

Parameters
[in]aThe first operand.
[in]bThe second operand.

Definition at line 2097 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References make_float4().

◆ operator/=() [1/6]

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

Divide the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 2022 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator/=() [2/6]

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

Divide the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 2001 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator/=() [3/6]

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

Divide the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 2075 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator/=() [4/6]

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

Divide the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 2053 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator/=() [5/6]

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

Divide the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 2130 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ operator/=() [6/6]

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

Divide the first operand by the second in place.

Parameters
[in,out]aThe value updated in place.
[in]bThe value applied to the first operand.

Definition at line 2107 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

◆ reflect()

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

Reflect an incident vector about a normal.

Parameters
[in]iThe incident vector.
[in]nThe normal vector.

Definition at line 2950 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References dot().

◆ rsqrtf()

float rsqrtf ( float  x)
inline

Compute the reciprocal square root.

Parameters
[in]xThe input value.

Definition at line 79 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

Referenced by normalize().

◆ smoothstep() [1/4]

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

Apply smooth Hermite interpolation between two edges.

Parameters
[in]aThe lower edge.
[in]bThe upper edge.
[in]xThe input value.

Definition at line 2979 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp().

◆ smoothstep() [2/4]

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

Apply smooth Hermite interpolation between two edges.

Parameters
[in]aThe lower edge.
[in]bThe upper edge.
[in]xThe input value.

Definition at line 2991 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_float2().

◆ smoothstep() [3/4]

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

Apply smooth Hermite interpolation between two edges.

Parameters
[in]aThe lower edge.
[in]bThe upper edge.
[in]xThe input value.

Definition at line 3003 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_float3().

◆ smoothstep() [4/4]

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

Apply smooth Hermite interpolation between two edges.

Parameters
[in]aThe lower edge.
[in]bThe upper edge.
[in]xThe input value.

Definition at line 3015 of file sources/libs/nvmultiobjecttracker/include/modules/cuDCFv2/helper_math.h.

References clamp(), and make_float4().