System functions
A system function is a built-in function whose name starts with •, as in •ucs or •json. Type • with Alt-y. Names are case-insensitive. Many system functions take their options as a left argument. A function named for a format reads that format, and its inverse writes it: •json reads JSON, and •json⁻ writes it. Each name below links to its page. ]help •name shows the same page. Built-in values have names that start with $, as Constants and $ names describes.
A function that takes one string, such as •json or •element, applies to each string of an array of strings, and to each row of a character matrix, as ⍎ does. A function that takes one number, such as •uuid, applies to each number of an array. The results form an array of the argument’s shape. Results from the rows of a character matrix are assembled as Rank’s results are. For an empty argument, the function returns an empty array of its usual result type, such as an empty list of strings from •src. The whole left argument is passed with each item or row of the right argument. The pages for •c, •date, •path and •metadata give their rules for array arguments.
In Python, the workspace object bpl has each system function under its name without •. Pass options as keyword arguments, as in bpl.json('{"a": null}', fill=0). Use .undo for the inverse, as in bpl.json.undo(Y) for •json⁻. Python covers the calling conventions.
Special functions
•special |
Gamma, error and beta functions |
Random numbers and distributions