Menu

getFunctionNames() method

Help
akok
2007-07-06
2013-04-23
  • akok

    akok - 2007-07-06

        Hi, thanks for your library.
    I have a problem with this getFunctionNames(). It always return an array with 0 length.
    Can you examine this and tell me how could i fix it?
    Thanks in advance

     
    • storm$

      storm$ - 2007-07-06

      By default, the FuncMap is empty.  You can use the loadDefaultFunctions() to load common functions.  Common functions include sin, cos, tan, sqrt, abs, ceil floor, exp, lg, ln, sign, round, fact, pow, mod, log, etc.

      If you want to write your own function, e.g. MyFunc, and add it to the FuncMap then you can use the:
      setFunction(String name, Function f) method.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.