Blitz logo

Blitz Support :

From: wout (w.ruijter_at_[hidden])
Date: 2005-04-01 04:54:40


Hello Hector,

That should be something like:
Array<double,2> A;
int dim1 = 12;
int dim2 = 12;
A.resize(dim1,dim2);

or, alternatively
A.resize(shape(dim1,dim2));

Greetings
Wout

Hector Salas Rodriguez wrote:

> Hi, friends:
>
> I'm newbie in blitz world and I have one question. How can I
> resize the blitz array at runtime? I mean the array's shape is unknown
> at compile time.
>
> Could some one help me?
>
>
> Thanks.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Blitz-support mailing list
>Blitz-support_at_[hidden]
>http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
>

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.