| 
 
Returns information about an array
 
(Array_Type, Integer_Type, DataType_Type) array_info (Array_Type a) 
The array_info function returns information about the array a.
It returns three values: an 1-d integer array specifying the
size of each dimension of a, the number of dimensions of
a, and the data type of a.
 
The array_info function may be used to find the number of rows
of an array:
 
    define num_rows (a)
    {
       variable dims, num_dims, data_type;
       (dims, num_dims, data_type) = array_info (a);
       return dims [0];
    }
For 1-d arrays, this information is more easily obtained from the
length function.
 
slangrtl
__class_id,
__class_type,
__eqs,
__get_reference,
__is_initialized,
__pop_args,
__push_args,
_nargs,
_reshape,
_typeof,
array_map,
assoc_get_keys,
bstrlen,
dup,
get_struct_field,
is_defined,
is_struct_type,
length,
listdir,
max,
min,
reshape,
set_struct_field,
strlen,
sum,
transpose,
typecast,
typeof,
where
 |