Examples of Multiply


Examples of ca.grimoire.jnoise.modules.composition.Multiply

   * @throws BuilderException
   *           if any of the source modules throws an exception.
   * @see ModuleBuilder#createModule()
   */
  public Multiply createModule () throws BuilderException {
    return new Multiply (createSources ());
  }
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.expr.Multiply

    } else if (expr instanceof E_Multiply) {
      expr.getArg1().visit(this) ;
      expr.getArg2().visit(this) ;
      Expression e2 = expression.pop();
      Expression e1 = expression.pop();
      expression.push(new Multiply(e1, e2));
    } else if (expr instanceof E_Divide) {
      expr.getArg1().visit(this) ;
      expr.getArg2().visit(this) ;
      Expression e2 = expression.pop();
      Expression e1 = expression.pop();
View Full Code Here

Examples of jcascalog.op.Multiply

        .predicate(Playground.AGE, "?person", "?age").predicate(new LT(), "?age", 30));
  }

  public static void doubleAges() {
    Api.execute(new StdoutTap(), new Subquery("?person", "?double-age")
        .predicate(Playground.AGE, "?person", "?age").predicate(new Multiply(), "?age", 2)
        .out("?double-age"));
  }
View Full Code Here

Examples of org.allspice.bytecode.instructions.Multiply

    Var y = new Var(i2,new TypeName(type)) ;
    MethodDef md = new MethodDef(new TypeName(ret),"meth",x,y) ;
    md = md.addInstructions(
        new Load(x),
        new Load(y),
        new Multiply(TypeCode.getType(type)),
        new Return(TypeCode.getType(ret))
        ) ;
    return cd.addMethod(md)
  }
View Full Code Here

Examples of org.allspice.bytecode.instructions.Multiply

    }
  }
  private static final class MulInPlaceConverter extends InBinopPlaceOp<MulInPlaceExpr> {
    @Override
    public Inst createOp(StubResolver tc) {
      return new Multiply(tc.getTypeCode()) ;
    }
View Full Code Here

Examples of org.allspice.bytecode.instructions.Multiply

    }
  }
  private static final class MulConverter extends ArithOp<MulExpr> {
    @Override
    public Inst createOp(TypeCode tc) {
      return new Multiply(tc) ;
    }
View Full Code Here

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

     *
     * @param d Multiplication factor.
     * @return {@code this}.
     */
    public RealVector mapMultiplyToSelf(double d){
        return mapToSelf(FunctionUtils.fix2ndArgument(new Multiply(), d));
    }
View Full Code Here

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

     *
     * @param d Multiplication factor.
     * @return {@code this}.
     */
    public RealVector mapMultiplyToSelf(double d){
        return mapToSelf(FunctionUtils.fix2ndArgument(new Multiply(), d));
    }
View Full Code Here

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

     *
     * @param d Multiplication factor.
     * @return {@code this}.
     */
    public RealVector mapMultiplyToSelf(double d){
        return mapToSelf(FunctionUtils.fix2ndArgument(new Multiply(), d));
    }
View Full Code Here

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

        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();
        c = FunctionUtils.combine(bi, id, inv);
        Assert.assertEquals(1, c.value(2.3456), EPS);
    }
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.