Function
Determine if the given Array can be converted to an Array with the given type, category, rank, and shape.
Syntax
#include <dx/dx.h>
Error DXQueryArrayConvert(Array a, Type type, Category category, int rank,
...)
Error DXQueryArrayConvertV(Array a, Type type, Category category, int rank, int
*shape)
Functional Details
The Array can be converted only if type, category, rank, and shape are all compatible with a.
rank and shape are compatible if the rank and shape of a and the given rank and shape differ only by dimensions that have a shape of 1. For example, an Array of 1 × n matrices is compatible with an Array of vectors.
Table 6 and Table 7 summarize the conversions allowed between types and categories.
Return Value
Return OK or returns NULL and set an error code.
See Also
DXArrayConvert, DXArrayConvertV, DXExtractFloat, DXExtractInteger, DXExtractNthString, DXExtractParameter, DXExtractString, DXQueryParameter
12.8 , "Extracting Module Parameters".