/** * <tt>a * constant</tt>. */ public static Mult mult(final double constant) { return new Mult(constant); } }
/** * <tt>a * constant</tt>. */ public static Mult mult(final double constant) { return new Mult(constant); } }
/** * <tt>a * constant</tt>. */ public static Mult mult(final double constant) { return new Mult(constant); } }
/** * Constructs a function that returns <tt>a * b</tt>. * <tt>a</tt> is a variable, <tt>b</tt> is fixed. */ public static DoubleFunction mult(final double b) { return new Mult(b); /* return new DoubleFunction() { public final double apply(double a) { return a * b; } }; */ } /**
/** * Constructs a function that returns <tt>a * b</tt>. * <tt>a</tt> is a variable, <tt>b</tt> is fixed. */ public static DoubleFunction mult(final double b) { return new Mult(b); /* return new DoubleFunction() { public final double apply(double a) { return a * b; } }; */ } /**