Increment the components of this vector by the given values.

@param x
the x component to add
@param y
the y component to add
@param z
the z component to add
@param w
the w component to add
@return a vector holding the result
348057
public Vector4f add(float x, float y, float z, float w) {
        return add(x, y, z, w, thisOrNew());
    }
719612
public Vector3d add(Vector3fc v, Vector3d dest) {
        dest.x = x + v.x();
        dest.y = y + v.y();
        dest.z = z + v.z();
        return dest;
    }
200790
public static ImmutableVector3 createVector(final double x, final double y, final double z) {
		return new ImmutableVector3(new ImmutableData(3, 1) {
			@Override
			public double getQuick(int row, int col) {
				switch (row) {
					case 0:
						return x;
					case 1:
						return y;
					default:
						return z;
				}
			}
		});
	}
616637
public Vector4i set(Vector2ic v, int z, int w) {
    	return set(v.x(), v.y(), z, w);
    }
147817
public Vector3d set(Vector2ic v, double z) {
        return set(v.x(), v.y(), z);
    }
1189985
public Vector3f add(Vector3fc v, Vector3f dest) {
        dest.x = x + v.x();
        dest.y = y + v.y();
        dest.z = z + v.z();
        return dest;
    }
337589
public Vector4d sub(double x, double y, double z, double w, Vector4d dest) {
        dest.x = this.x - x;
        dest.y = this.y - y;
        dest.z = this.z - z;
        dest.w = this.w - w;
        return dest;
    }
110534
public double getValue(int index, double x, double y, double z) {
        double sum = 0;
        for (int i = 0; i < count_basis; i++)
            if (C.matrix[i][index] != 0d) sum += C.matrix[i][index] * basis.getValue(i, x, y, z);
        return sum;
    }
1201143
function add(x, y) {
	var z = [];
	var n = Math.max(x.length, y.length);
	var carry = 0;
	var i = 0;
	while (i < n || carry) {
		var xi = i < x.length ? x[i] : 0;
		var yi = i < y.length ? y[i] : 0;
		var zi = carry + xi + yi;
		z.push(zi % 10);
		carry = Math.floor(zi / 10);
		i++;
	}
	return z;
}
1109881
public Vector4d set(Vector3dc v, double w) {
        return set(v.x(), v.y(), v.z(), w);
    }
33037
public Vector3f reflect(float x, float y, float z) {
        return reflect(x, y, z, thisOrNew());
    }
1081755
public Vector3d set(Vector2dc v, double z) {
        return set(v.x(), v.y(), z);
    }
515089
public Matrix3d scaling(double x, double y, double z) {
        m00 = x;
        m01 = 0.0;
        m02 = 0.0;
        m10 = 0.0;
        m11 = y;
        m12 = 0.0;
        m20 = 0.0;
        m21 = 0.0;
        m22 = z;
        return this;
    }
536250
public Vector2d add(Vector2dc v, Vector2d dest) {
        dest.x = x + v.x();
        dest.y = y + v.y();
        return dest;
    }
1178145
public Vector3i mul(int x, int y, int z) {
        return mul(x, y, z, thisOrNew());
    }
1130192
public static Vector3 createVector(double x, double y, double z) {
		Vector3 v=new Vector3Impl();
		v.setX(x);
		v.setY(y);
		v.setZ(z);
		return v;
	}
74387
public Vector3d cross(double x, double y, double z) {
        return cross(x, y, z, thisOrNew());
    }