Reference
Identifier catalog
A searchable map of keywords, literals, built-ins, constants, operators, and symbols.
01
Catalog structure
The sections below separate syntactic roles that are easy to conflate. The built-in catalog is generated from the same typed data used by search and the function reference.
Reserved keywords 16
Special literals 2
Built-in functions 54
54 functions
| Name | Signature | Availability |
|---|---|---|
sqrt | sqrt(x) | InterpreterLLVM |
sin | sin(x) | InterpreterLLVM |
cos | cos(x) | InterpreterLLVM |
tan | tan(x) | Interpreter |
abs | abs(x) | Interpreter |
accumarray | accumarray(subs, values) | Interpreter |
acos | acos(x) | Interpreter |
acosd | acosd(x) | Interpreter |
acosh | acosh(x) | Interpreter |
acot | acot(x) | Interpreter |
acotd | acotd(x) | Interpreter |
acoth | acoth(x) | Interpreter |
acsc | acsc(x) | Interpreter |
acscd | acscd(x) | Interpreter |
acsch | acsch(x) | Interpreter |
all | all(x) | Interpreter |
allbetween | allbetween(x, lower, upper) | Interpreter |
allfinite | allfinite(x) | Interpreter |
class | class(value) | Interpreter |
isa | isa(value, className) | Interpreter |
double | double(value) | Interpreter |
exp | exp(x) | InterpreterLLVM |
log | log(x) | InterpreterLLVM |
sum | sum(x) | Interpreter |
mean | mean(x) | Interpreter |
min | min(x) | min(a, b) | Interpreter |
max | max(x) | max(a, b) | Interpreter |
zeros | zeros() | zeros(n) | zeros(r, c) | zeros([r, c]) | Interpreter |
ones | ones() | ones(n) | ones(r, c) | ones([r, c]) | Interpreter |
eye | eye() | eye(n) | eye(r, c) | eye([r, c]) | Interpreter |
transpose | transpose(A) | Interpreter |
det | det(A) | Interpreter |
inv | inv(A) | Interpreter |
solve | solve(A, B) | Interpreter |
size | size(x) | Interpreter |
numel | numel(x) | Interpreter |
isempty | isempty(x) | Interpreter |
disp | disp(value) | InterpreterLLVM |
pause | pause() | pause(seconds) | pause(state) | InterpreterHost |
error | error(message) | error(identifier, message) | Interpreter |
rethrow | rethrow(exception) | Interpreter |
readmatrix | readmatrix(filename) | InterpreterHost |
writematrix | writematrix(value, filename) | InterpreterHost |
plot | plot(x, y) | InterpreterHost |
plot3 | plot3(x, y, z) | InterpreterHost |
surf | surf(Z) | surf(x, y, Z) | surf(X, Y, Z) | InterpreterHost |
title | title(text) | InterpreterHost |
xlabel | xlabel(text) | InterpreterHost |
ylabel | ylabel(text) | InterpreterHost |
zlabel | zlabel(text) | InterpreterHost |
legend | legend(labels...) | legend("on" | "off") | InterpreterHost |
grid | grid() | grid(flag) | InterpreterHost |
axis | axis("auto") | axis(limits) | InterpreterHost |
clf | clf() | InterpreterHost |
Native constants 0 confirmed
Not currently dispatched
pi, e, Inf, and NaN are not direct identifiers in the audited runtime.
Operators and symbols
| Arithmetic | + - * / ^ |
| Element-wise | .* ./ |
| Comparison | == ~= < <= > >= |
| Logical | ! && || |
| Assignment and range | = : |
| Syntax | . ( ) [ ] , ; % |
02
Recommended architecture
The upstream project currently keeps dispatch knowledge in several runtime modules. A future central source catalog could expose name, category, signature, description, effect classification, and backend support, then validate generated docs against it.
Source note
This is a documentation architecture recommendation, not a claim that the upstream catalog already exists.