Differences between revisions 23 and 25 (spanning 2 versions)
Revision 23 as of 2009-08-23 19:30:00
Size: 251
Editor: AlfonsoReyes
Comment:
Revision 25 as of 2009-08-23 19:32:18
Size: 429
Editor: AlfonsoReyes
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
|| xCoord = Double[25] || xCoord = jarray.zeros(25, "d") || ||array of doubles || xCoord = Double[25] || xCoord = jarray.zeros(25, "d") ||
Line 6: Line 6:
||array assignment || double re = reFun.evaluate(new double[] {data[i][j][0], data[i][j][1]}); || re = self.reFun.evaluate([data[i][j][0], data[i][j][1]]) ||

Describe ComparisonJavaJython here.

Description

In Java

In Jython

array of doubles

xCoord = Double[25]

xCoord = jarray.zeros(25, "d")

Size of array

mx = data.length;

mx = len(data)

array assignment

double re = reFun.evaluate(new double[] {data[i][j][0], data[i][j][1]});

re = self.reFun.evaluate([data[i][j][0], data[i][j][1]])

ComparisonJavaJython (last edited 2009-08-23 20:01:21 by AlfonsoReyes)