FUNCDEF

From iMath
Revision as of 16:26, 25 March 2017 by Jrheinlaender (talk | contribs) (Created page with "{{Keyword | 1= <code>@label@ { options } FUNCDEF * funcname(symbol|exlist) = expression</code> | 2= Define an equation that can be used to find the value...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax

@label@ { options } FUNCDEF * funcname(symbol|exlist) = expression

Implemented in iMath since version 2.2.0 or earlier.

Explanation

Define an equation that can be used to find the value of a user-defined function. The function must first have been declared with FUNCTION.

The starred form will suppress printing of the result.

Example

@f@ FUNCDEF f(x) = 3 x^2 + 2 x + 1 tells iMath how to find the value of f for a given value of x.

See also

{{{4}}}