public Membership plus(Membership m) { if (!(m instanceof Membership) || ((Membership)m).components.length != components.length) throw new IllegalArgumentException ("argument must be a VectorComponent of size " + components.length); double newComponents[] = new double[components.length]; for (int i = 0; i < components.length; i++) newComponents[i] = components[i] + ((Membership)m).components[i]; return new Membership(newComponents); }
public Membership plus(Membership m);
	public Membership plus(Membership m) {		if (!(m instanceof Membership) ||				((Membership)m).components.length != components.length)			throw new IllegalArgumentException			("argument must be a VectorComponent of size " + components.length);		double newComponents[] = new double[components.length];		for (int i = 0; i < components.length; i++)			newComponents[i] = components[i] + ((Membership)m).components[i];		return new Membership(newComponents);	}