I used an arry pointer at that location and d
Do you mean to use
DXNewArray( TYPE_FLOAT, CATEGORY_REAL, 1, 2 );
to create 2D vector array instead of using a pointer as parameter like
int shape[1];
shape[0]=2;
DXNewArray( TYPE_FLOAT, CATEGORY_REAL, 1, shape );
On Wed, 15 Dec 2004, Kent Eschenberg wrote:
> --On 12/14/04 05:11:20 PM <[EMAIL PROTECTED]> wrote:
> > I found a problem by trying to allocate array member by using
> > DXAddArrayData(a, 0, n, NULL)
> > after the new vector arry, a, has been created by calling
> > DXNewArray( TYPE_FLOAT, CATEGORY_REAL, 1, {2} ).
>
> That looks right except that I don't know what you mean by {2}. Writing in
> C, I just have an integer at that location equal to the number of
> components in the vector, e.g., 2.
>
> Kent
> - - -
> Kent Eschenberg [EMAIL PROTECTED] (412)268-6829
> Scientific Visualization Specialist
> Pittsburgh Supercomputing Center
>
> Why did the chicken cross the mobius strip?
>