/** * --Copyright notice-- * * Copyright (c) School of Geography, University of Leeds. * http://www.geog.leeds.ac.uk/ * This software is licensed under 'The Artistic License' which can be found at * the Open Source Initiative website at... * http://www.opensource.org/licenses/artistic-license.php * Please note that the optional Clause 8 does not apply to this code. * * The Standard Version source code, and associated documentation can be found at... * [online] http://mass.leeds.ac.uk/ * * * --End of Copyright notice-- * */ /** * Example processing class. * @version 1.0 * @author Andy Evans */ public class Process { /** * Example processing method. * Just changes the data to random numbers. */ public double[][] runProcess(double[][] dataIn) { double[][] temp = new double[dataIn.length][dataIn[0].length]; for (int i = 0; i < dataIn.length; i++) { for (int j = 0; j < dataIn[i].length; j++) { temp[i][j] = Math.random() * 100; } } return temp; } }