Documentation API of the 'de.congrace.exp4j.CustomFunction' Java class

Class CustomFunction

  • public abstract class CustomFunctionextends Object
    this classed is used to create custom functions for exp4j

             CustomFunction fooFunc = new CustomFunction("foo") {                public double applyFunction(double value) {                        return value*Math.E;                } }; double varX=12d; Calculable calc = new ExpressionBuilder("foo(x)").withCustomFunction(fooFunc).withVariable("x",varX).build(); assertTrue(calc.calculate() == Math.E * varX); }

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.