FileDocCategorySizeDatePackage
SubtractOperation.javaAPI DocExample1136Wed May 18 09:39:04 BST 2005com.discursive.jccook.xml.script

SubtractOperation

public class SubtractOperation extends Operation

Fields Summary
Constructors Summary
Methods Summary
public double[]perform(double[] pArray)

        double[] retArray = new double[pArray.length];

        for (int i = 0; i < pArray.length; i++) {
            retArray[i] = pArray[i] - getValue();
        }

        return retArray;