Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.apache.commons.jexl2.MapContext;
- public class Test {
- /**
- * @param args
- */
- public static void main(String[] args) {
- NelderMead nm = new NelderMead("x1^3");
- MapContext mc = new MapContext();
- mc.set("x1", 3);
- System.out.println(nm.funcEval(mc));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment