/** * Subtract the values in the given vector from a copy of * this vector and return the result * @param vector the array to add * @return the resultant vector */ public SparseDoubleArray subtract(SparseDoubleArray vector) { return copy().subtractInplace(vector); }