class DoubleVector implements java.io.Serializable {

    public double sumOfValues() {
        double sum = 0.0;
        for (double element : this.doubleArray) {
            sum += element;
        }
        return sum;
    }

    public  DoubleVector();
    public  DoubleVector(double[] toCopy);
    public  DoubleVector(DoubleVector toCopy);

}