public static Object parse(String input) throws SyntaxException {
		input = input.trim();
		if (input.startsWith("(")) {
			return vectorFromString(input);
		} else if (input.startsWith("[")) {
			return dimensionFromString(input);
		} else
			throw new SyntaxException("Unknown input format!");
	}