HELP NEWDFLOATARRAY David Young November 1994 revised July 2003 LIB * ______________NEWDFLOATARRAY provides two procedures which make and recognise packed arrays of double-precision floats. These are suitable for passing to external procedures that expect such arrays. In addition, a vector class for the arrayvectors is defined. newdfloatarray(___________bounds_list, ____________element_init) -> ___________float_array [procedure] The arguments are as for *newarray. The second is optional. olddfloatarray(___tag, ___________bounds_list, ____________element_init) -> __________byte_array The last two arguments are as above, with ____________element_init optional. The ___tag argument is an identifier such as a word or integer. If olddfloatarray is called twice with the same tag, the arrays returned may share storage. This can reduce garbage collection, and this procedure should be used in preference to newdfloatarray for any array which is only needed temporarily. See *oldarray for more details. isdfloatarray(_____array) -> _______boolean [procedure] Returns if _____array is an array with a packed double-precision floating point arrayvector, otherwise. An array for which is returned could have been created with, for example, newdfloatarray, array_of_double (see * ________EXTERNAL), newfloatarray from the * _______VEC_MAT package (with popdprecision ), or some other similar procedure. A vector class with dataword dfloatvec is defined. This means that the constant dfloatvec_key and the procedures isdfloatvec, consdfloatvec, initdfloatvec, destdfloatvec, subscrdfloatvec and fast_subscrdfloatvec are defined and made available. See REF * _________DEFSTRUCT for an explanation of what these do, or REF * ______INTVEC for a description of the equivalent procedures for a different vector class. --- $_____________________________popvision/help/newdfloatarray --- Copyright University of Sussex 2003. All rights reserved. ----------