Package com.singularsys.extensions.fastmatrix

Fast evaluation routines for matrices and vectors with double elements.

A Typical setup would be

MatrixComponentSet compSet = new MatrixComponentSet(new DoubleMatrixComponents());
Jep jep = new Jep(compSet);
DimensionVisitor dimV = compSet.getDimensionVisitor();
MrpEval mrpe = new MrpEval(jep);

Expressions would then be complied using

Node node = jep.parse("[[1,2],[3,4]] *[1,2]");
dimV.visit(node);
MrpCommandList com = mrpe.compile(node);
and evaluate with
MrpRes res = mrpe.evaluate(com);
System.out.println(Arrays.toString(res.toDoubleVec()));
Since:
Jep 3.5 / Extensions 2.0
See Also:
Fastmatrix documentation