GPULib API

Tech-X Corporation

single page | use frames     summary     class     fields     routine details     file attributes

lib/

gpuinterpolate.pro


Routines

result = gpuInterpolate(p_gpu, x_gpu, y_gpu [, LHS=GPUVariable oject] [, ERROR=integer])

Calculates the linear or bilinear interpolates of the given input p_gpu, depending on the number of arguments presented.

gpuInterpolate, p_gpu, x_gpu, arg3_gpu [, arg4_gpu] [, ERROR=integer]

Calculates the linear or bilinear interpolates of the given input p_gpu, depending on the number of arguments presented.

Routine details

top gpuInterpolate

result = gpuInterpolate(p_gpu, x_gpu, y_gpu [, LHS=GPUVariable oject] [, ERROR=integer])

Calculates the linear or bilinear interpolates of the given input p_gpu, depending on the number of arguments presented. If three arguments are given: Result = interpolate(p_gpu, x_gpu) If four arguments are given: Result = interpolate(p_gpu, x_gpu, y_gpu)

Return value

GPUVariable object

Parameters

p_gpu in required type=GPUVariable oject

the input array (1D or 2D)

x_gpu in required type=GPUVariable oject

x-values for either form of interpolation

y_gpu in out required type=GPUVariable oject

the y-values for bilinear interpolation

Keywords

LHS in optional type=GPUVariable oject

pass GPU variable to use as return value

ERROR out optional type=integer

error status

top gpuInterpolate

gpuInterpolate, p_gpu, x_gpu, arg3_gpu [, arg4_gpu] [, ERROR=integer]

Calculates the linear or bilinear interpolates of the given input p_gpu, depending on the number of arguments presented. If three arguments are given: arg3_gpu = interpolate(p_gpu, x_gpu) If four arguments are given: arg4_gpu = interpolate(p_gpu, x_gpu, arg3_gpu)

Parameters

p_gpu in required type=GPUVariable oject

the input array (1D or 2D)

x_gpu in required type=GPUVariable oject

x-values for either form of interpolation

arg3_gpu in out required type=GPUVariable oject

the return value for linear interpolation or the y-values for bilinear interpolation

arg4_gpu in optional type=GPUVariable oject

the return value for bilinear interpolation

Keywords

ERROR out optional type=integer

error status

File attributes

Modification date: Fri Nov 12 11:07:45 2010
Lines: 180
Docformat: rst rst