Is there a way to define an operator?

Issue #164 resolved
Trần lê duy created an issue

I want to define an operator as nPr and nCr for permutation and combination in Casio calculator. Can you give me a guide?

Comments (2)

  1. Axel Kramer repo owner

    In org.matheclipse.core.convert.AST2Expr.java you can add new "alias" strings to ALIASES_STRINGS and ALIASES_SUBSTITUTES. For example the Diff name could be used as alias for the D function name.

    New operators are defined in the org.matheclipse.core.parser.ExprParserFactory and in the org.matheclipse.parser.client.operator.ASTNodeFactory.

    The second factory is independent from the Symja expression structure and parses only to a simply node form but not into a fullblown IExpr structure.

  2. Log in to comment