Examples of Minus


Examples of org.apache.commons.math3.analysis.function.Minus

    @Test
    public void testAddDifferentiable() {
        DifferentiableUnivariateFunction sin = new Sin();
        DifferentiableUnivariateFunction c = new Constant(4);
        DifferentiableUnivariateFunction m = new Minus();
        DifferentiableUnivariateFunction inv = new Inverse();

        final double a = 123.456;
        Assert.assertEquals(- 1 / (a * a) -1 + Math.cos(a),
                            FunctionUtils.add(inv, m, c, sin).derivative().value(a),
View Full Code Here

Examples of org.apache.commons.math3.analysis.function.Minus

    @Test
    public void testCombine() {
        BivariateFunction bi = new Add();
        UnivariateFunction id = new Identity();
        UnivariateFunction m = new Minus();
        UnivariateFunction c = FunctionUtils.combine(bi, id, m);
        Assert.assertEquals(0, c.value(2.3456), EPS);

        bi = new Multiply();
        UnivariateFunction inv = new Inverse();
View Full Code Here

Examples of org.apache.xpath.operations.Minus

   *
   * @throws TransformerException if a error occurs creating the Expression.
   */
  protected Expression minus(int opPos) throws TransformerException
  {
    return compileOperation(new Minus(), opPos);
  }
View Full Code Here

Examples of org.apache.xpath.operations.Minus

   *
   * @throws TransformerException if a error occurs creating the Expression.
   */
  protected Expression minus(int opPos) throws TransformerException
  {
    return compileOperation(new Minus(), opPos);
  }
View Full Code Here

Examples of org.apache.xpath.operations.Minus

   *
   * @throws TransformerException if a error occurs creating the Expression.
   */
  protected Expression minus(int opPos) throws TransformerException
  {
    return compileOperation(new Minus(), opPos);
  }
View Full Code Here

Examples of org.apache.xpath.operations.Minus

   *
   * @throws TransformerException if a error occurs creating the Expression.
   */
  protected Expression minus(int opPos) throws TransformerException
  {
    return compileOperation(new Minus(), opPos);
  }
View Full Code Here

Examples of org.apache.xpath.operations.Minus

   *
   * @throws TransformerException if a error occurs creating the Expression.
   */
  protected Expression minus(int opPos) throws TransformerException
  {
    return compileOperation(new Minus(), opPos);
  }
View Full Code Here

Examples of org.apache.xpath.operations.Minus

   *
   * @throws TransformerException if a error occurs creating the Expression.
   */
  protected Expression minus(int opPos) throws TransformerException
  {
    return compileOperation(new Minus(), opPos);
  }
View Full Code Here

Examples of org.apache.xpath.operations.Minus

   *
   * @throws TransformerException if a error occurs creating the Expression.
   */
  protected Expression minus(int opPos) throws TransformerException
  {
    return compileOperation(new Minus(), opPos);
  }
View Full Code Here

Examples of org.apache.xpath.operations.Minus

   *
   * @throws TransformerException if a error occurs creating the Expression.
   */
  protected Expression minus(int opPos) throws TransformerException
  {
    return compileOperation(new Minus(), opPos);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.