GPULib API

Tech-X Corporation

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

lib/

gpuminop.pro


top gpuMinOp

result = gpuMinOp(x_gpu, y_gpu [, LHS=GPUVariable object] [, ERROR=integer])

Compares the elements of a vector with a scalar or vector and sets the resulting vector to the smaller of the two.

Return value

a vector set to the minimum of the elements of the input vector and the provide threshold vector or scalar.

Parameters

x_gpu in required type=GPUVariable object

GPU array to search for minimum

y_gpu in required type=float or GPUVariable object

Keywords

LHS in optional type=GPUVariable object

GPU vector for result

ERROR out optional type=integer

error status

File attributes

Modification date: Fri Nov 12 11:07:46 2010
Lines: 121
Docformat: rst rst