@Test public void testIdentityDerivative() { final Matrix derivative = FunctionFactory.getSingleInstance("identity").derivative(expectedOutput); assertTrue(expectedDerivative.compare(derivative, TOLERANCE)); }
@Override public Matrix derivative(final Matrix m) { return derivativei(m.dup()); }
Identity implements Function { @Override public Matrix derivative(final Matrix m) { return derivativei(m.dup()); } }
Identity implements Function { @Override public Matrix derivative(final Matrix m) { return derivativei(m.dup()); }  }
Identity implements Function { @Override public Matrix derivative(final Matrix m) { return derivativei(m.dup()); }  @Override Matrix apply(final Matrix m); @Override Matrix applyi(final Matrix m); @Override Matrix derivative(final Matrix m); @Override Matrix derivativei(final Matrix m); }
Identity implements Function { @Override public Matrix derivative(final Matrix m) { return derivativei(m.dup()); }  @Override Matrix apply(final Matrix m); @Override Matrix applyi(final Matrix m); @Override Matrix derivative(final Matrix m); @Override Matrix derivativei(final Matrix m);  }