[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
4-D Array
From: |
Carlo de Falco |
Subject: |
4-D Array |
Date: |
Thu, 10 Sep 2009 18:57:48 +0200 |
Hi,
I am trying to create a 4D NDArray (3x3x3x3) from within
an oct-file but I don't understand how dim_vector works,
I tried the following but it crashes Octave:
dim_vector a (4);
a(0)=3;a(1)=3;a(2)=3;a(3)=3;
NDArray b (a);
with the error:
../liboctave/dim-vector.h:113: failed assertion `i >= 0 && i < ndims'
any help appreciated,
c.
- 4-D Array,
Carlo de Falco <=