Afaik, the easiest and most efficient way to press keys is to initialize an array with notches:
double[][] x = new []{new[]{1d, 2d}, new[]{3d, 4.3d}};
Edit:
This actually works too:
double[][] x = {new[]{1d, 2d}, new[]{3d, 4.3d}};
Pop catalin
source share