Reference Guide > C Routines > COMPLEXARR Function
  

COMPLEXARR Function
Returns a complex single-precision floating-point vector or array.
enabled.
Usage
result = COMPLEXARR(dim1[, dim2, ... , dimn])
Input Parameters
dimiThe dimensions of the result. May be any scalar expression. Up to eight dimensions may be specified.
Returned Value
result—A complex single-precision floating-point vector or array.
Keywords
Nozero—If Nozero is nonzero, the normal zeroing (see Discussion) is not performed, thereby causing COMPLEXARR to execute faster.
Discussion
Normally, COMPLEXARR sets every element of the result to zero.
Example
c = COMPLEXARR(4)
INFO, c
; PV-WAVE prints: C COMPLEX   = Array(4)
PM, c
; PV-WAVE prints the following: 
; (      0.00000,      0.00000)
; (      0.00000,      0.00000)
; (      0.00000,      0.00000)
; (      0.00000,      0.00000)
See Also
BYTARR, CINDGEN, DBLARR, FLTARR, INTARR, LONARR

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.