jscl.text.VectorParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jscl Show documentation
Show all versions of jscl Show documentation
java symbolic computing library and mathematical editor
The newest version!
package jscl.text;
import java.util.ArrayList;
import java.util.List;
import jscl.math.Generic;
import jscl.math.JSCLVector;
import jscl.util.ArrayUtils;
public class VectorParser extends Parser {
public static final Parser parser=new VectorParser();
private VectorParser() {}
public Object parse(String str, int pos[]) throws ParseException {
int pos0=pos[0];
List l=new ArrayList();
skipWhitespaces(str,pos);
if(pos[0]