GPULib API

Tech-X Corporation

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

lib/

gpudcomplex.pro


Routines

result = gpuDcomplex(p1 [, p2] [, LHS=GPUVariable object] [, ERROR=integer])

This routine converts an input array into a double complex GPU array.

gpuDcomplex, p1, p2 [, p3] [, ERROR=integer]

This routine converts an input array into a double complex GPU array.

Routine details

top gpuDcomplex

result = gpuDcomplex(p1 [, p2] [, LHS=GPUVariable object] [, ERROR=integer])

This routine converts an input array into a double complex GPU array.

There are two forms for the arguments to this routine: result = gpuDCOMPLEX(p1) where p1 is a GPUVariable object or a numeric array. Or: result = gpuDCOMPLEX(p1, p2) where p1, p2 are GPUVariable object or a numeric array and real and imaginary parts respectively.

Return value

GPUVariable object structure

Parameters

p1 in required type=numtype or GPUVariable object

real part of array to be converted

p2 in optional type=numtype or GPUVariable object

imaginary part of array to be converted

Keywords

LHS in optional type=GPUVariable object

pass GPU variable to use as return value

ERROR out optional type=integer

error status

top gpuDcomplex

gpuDcomplex, p1, p2 [, p3] [, ERROR=integer]

This routine converts an input array into a double complex GPU array.

Parameters

p1 in required type=numtype or GPUVariable object

array of the real parts to be converted

p2 in out required type=GPUVariable object

array of the imaginary parts to be converted or the GPU array of the converted input

p3 out optional type=GPUVariable object

GPU array of the converted input

Keywords

ERROR out optional type=integer

error status

File attributes

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