Hi Kshitij,
the "Array.apply(int, int, )" methods are essentially a convenient
shorthand for "Array.apply(Point(rank))" - and they're only defined up
to four dimensions.
You can access a 5D array using e.g.
val zeroPoint = Point.make([0, 0, 0, 0, 0]);
Console.OUT.println( t
Hello
I am trying to create a 5D array. Creating a 4D array works just fine,
but creating a 5D array gives a compilation error.
This works (creating 4D array):
-
public class Array5D {
public static def main(args:Rail[String]): Voi