GPULib API

Tech-X Corporation

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

lib/

gpumin.pro


top gpuMin

result = gpuMin(x_gpu [, min_subscript] [, DIMENSION=integer] [, /ABSOLUTE] [, LHS=GPUVariable object] [, ERROR=integer])

Calculates the minimum of the elements of the GPU vector.

Return value

minimum value of x_gpu

Parameters

x_gpu in required type=GPUVariable object

GPU array to search for minimum

min_subscript in optional type=long

position of the first ocurrence of the minimum element

Keywords

DIMENSION in optional type=integer

dimension over which to find the minimum

ABSOLUTE in optional type=boolean

use abolute value for comparison

LHS in optional type=GPUVariable object

pass GPU variable to use as return value

ERROR out optional type=integer

error status

File attributes

Modification date: Fri Nov 12 11:07:44 2010
Lines: 186
Docformat: rst rst