[kepler-users] sending multi-dimensional arrays
turuncu at be.itu.edu.tr
turuncu at be.itu.edu.tr
Fri Sep 28 02:11:47 PDT 2007
Hi,
I try to send three dimensional double array from output port (type is
BaseType.DOUBLE_MATRIX) of actor. But it gives,
[javac] Compiling 1 source file to /opt/kepler/build/classes
[javac] /opt/kepler/build/src/edu/tutorial/turuncu/MM5Read.java:317:
cannot find symbol
[javac] symbol : constructor DoubleMatrixToken(double[][][])
[javac] location: class ptolemy.data.DoubleMatrixToken
[javac] output.send(0, new DoubleMatrixToken(tmp3d));
error messages. When i define the tmp3d as
double tmp2d[][] = new double[im][jm];
it compiles the source. I think DOUBLE_MATRIX is not handle 3d arrays. So,
how can i send multi dimensional arrays (such as 3 or 4 dimension) in
Kepler.
Best wishes
--Ufuk
More information about the Kepler-users
mailing list