"Fossies" - the Fresh Open Source Software Archive

Member "dx-4.4.4/html/pages/progu275.htm" (1 Mar 2002, 4588 Bytes) of package /linux/misc/old/dx-4.4.4.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the dx-4.4.4.tar.gz project site itself.

IBM Visualization Data Explorer Programmer's Reference

[ Bottom of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]

DXQueryArrayConvert, DXQueryArrayConvertV

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".


[ Top of Page | Previous Page | Next Page | Table of Contents | Partial Table of Contents | Index ]
[Data Explorer Documentation | QuickStart Guide | User's Guide | User's Reference | Programmer's Reference | Installation and Configuration Guide ]

[Data Explorer Home Page]


[IBM Home Page | Order | Search | Contact IBM | Legal ]