Xtmp.set(i, j, B.get(i, j));
double[] newData = data.clone();
// Query optimal workspace
double[] work = new double[1];
intW info = new intW(0);
LAPACK.getInstance().dgels(trans.netlib(), numRows, numColumns, nrhs,
newData, Matrices.ld(numRows), Xtmp.getData(), Matrices.ld(numRows, numColumns),
work, -1, info);
// Allocate workspace