@Override public DoubleMatrix apply(DoubleArray theta) { return trans.jacobian(theta); } };
/** * The N by N-1 Jacobian matrix between the N "model" parameters (that sum to one) and the N-1 "fit" parameters. * @param fitParms The N-1 "fit" parameters * @return The N by N-1 Jacobian matrix */ public DoubleMatrix jacobian(DoubleArray fitParms) { return DoubleMatrix.copyOf(jacobian(fitParms.toArray())); }