Initializing help system before first use

XPRMgetarrtype

Purpose
Get the type of an array.
Synopsis
int XPRMgetarrtype(XPRMarray array);
Argument
array 
Reference to an array
Return value
Type of the array.
Further information
This function returns the type of a given array. The type of an array designates both the type of all entries of the array (as a type code) and the storage class used for that array. The entry's type code can be extracted using the macro XPRM_TYP(type). The storage class can be extracted using the macro XPRM_GRP(type) that indicates the internal representation of the array. Possible values are:
XPRM_ARR_FIX 
array is dense and all its indexing sets are constant
XPRM_ARR_DYFIX 
array is dense but at least one of its indexing sets is not constant
XPRM_ARR_DYN 
array is sparse and has been declared as dynamic
XPRM_ARR_HMAP 
array is sparse and has been declared as hashmap
Sparse arrays can be identified using the macro XPRM_ARR_IS_SPARSE(type).
Related topics

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.