I have several simple lines of code in Java using ejml Equation as follows:
eq.process("T = zeros(2,3)");
eq.process("T(1,1)=10");
eq.process("T(1,0)=1");
eq.process("T(1,2)=8");
The last line doesn't work, throwing error "Submatrix out of bounds. Lower extent". Apparently, matrix T has size of 2x3 and indexes start from 0 so T(1,2) mus be valid. I also tried to convert to raw matrix as follows:
DenseMatrix64F m=eq.lookupMatrix("T");
m.set(1, 2, 7);
And it works. Is it a bug from this library?