convert setcell1d method from Javascript to Java

    Dec 20 2009 | 9:52 am
    Hello! I am porting some js code to java but i am finding a difficulty to solve this:
    how shall i convert this line of js code into java? any suggestions? thank you! Emmanuel

    • Jan 13 2010 | 9:45 pm
      matrix1.setcell1d(x, n_array); // where n_array is int[] float[] or double[] (but probably you've figured it by now)
      btw, I've been using setcell a bit at first, but realized that it's actully quite slow. If you wanna manipulate large amounts of data it's advisable to use the copy comands supplied by the JitterMatrix object. i.e. copyArrayToMatrix, copyArrayToVector and copyArrayToVectorPlanar etc..
    • Jan 13 2010 | 10:45 pm
      Nice! Welcome to the Forum Marcus, nice to see you around Emmanuel