Functions
Built-in Functions
Built-in functions with definitions and examples.
1. Type Alias
See type specifications
1-level |
Description |
Int |
B, J, H, I, L |
Float |
F, E |
Complex |
X |
Date |
M, D, Z |
Time |
U, W, T |
String |
C, Q, S |
Compound |
G, N, Y, A, K |
2-level |
Description |
Real |
Int, Float |
Number |
Real, Complex |
Calendar |
Date, Time |
Column |
Number, Date, Time, Q, S, Y |
Comparable |
Real, Date, Time, String |
Basic |
Real, Date, Time, String, Complex |
Any |
Any of all types |
2. Basics
Status
- ✔: Implemented
- P: Partially implemented
- "empty": Not implemented yet
2.1 Unary
No. |
Function |
Type of Arg(s)* |
Type of Value |
Details |
Status |
Parallel |
1 |
|
Real |
Same as argument |
link |
✔ |
Y |
2 |
|
Real |
Same as argument |
link |
✔ |
Y |
3 |
|
Real |
Same as argument |
link |
✔ |
Y |
4 |
|
Real |
Same as argument |
link |
✔ |
Y |
5 |
|
Real |
Same as argument |
link |
✔ |
Y |
6 |
|
Complex |
Complex |
link |
✔ |
Y |
7 |
|
Real |
Various |
link |
✔ |
Y |
8 |
|
Real |
Various |
link |
✔ |
Y |
9 |
|
Number |
Various |
link |
✔ |
Y |
10 |
|
B |
B |
link |
✔ |
Y |
11 |
|
Real |
Number |
link |
P |
Y |
12 |
|
Real |
Number |
link |
P |
Y |
13 |
|
Real |
Number |
link |
P |
Y |
14 |
|
Real |
Number |
link |
P |
Y |
15 |
|
Real |
Number |
link |
P |
Y |
16 |
|
Z |
D |
link |
✔ |
Y |
17 |
|
Date |
H |
link |
✔ |
Y |
18 |
|
Date |
H |
link |
✔ |
Y |
19 |
|
D,Z |
H |
link |
✔ |
Y |
20 |
|
Z |
T |
link |
✔ |
Y |
21 |
|
Time |
L |
link |
✔ |
Y |
22 |
|
Time |
L |
link |
✔ |
Y |
23 |
|
W,T,Z |
L |
link |
✔ |
Y |
24 |
|
T,Z |
L |
link |
✔ |
Y |
25 |
|
Real |
Real |
link |
✔ |
Y |
26 |
|
Real |
Real |
link |
✔ |
Y |
27 |
|
Real |
Real |
link |
✔ |
Y |
28 |
|
Real |
Real |
link |
✔ |
Y |
29 |
|
Real |
Real |
link |
✔ |
Y |
30 |
|
Real |
Real |
link |
✔ |
Y |
31 |
|
Real |
Real |
link |
✔ |
Y |
32 |
|
Real |
Real |
link |
✔ |
Y |
33 |
|
Real |
Real |
link |
✔ |
Y |
34 |
|
Real |
Real |
link |
✔ |
Y |
35 |
|
Real |
Real |
link |
✔ |
Y |
36 |
|
Real |
Real |
link |
✔ |
Y |
* Math.h
2.2 Binary
No. |
Function |
Type of Arg(s)* |
Type of Value |
Details |
Status |
Parallel |
1 |
|
(CP**;CP) |
B |
link |
✔ |
Y |
2 |
|
(CP;CP) |
B |
link |
✔ |
Y |
3 |
|
(CP;CP) |
B |
link |
✔ |
Y |
4 |
|
(CP;CP) |
B |
link |
✔ |
Y |
5 |
|
(CP;CP) |
B |
link |
✔ |
Y |
6 |
|
(CP;CP) |
B |
link |
✔ |
Y |
7 |
|
Various |
Various |
link |
✔ |
Y |
8 |
|
Various |
Various |
link |
✔ |
Y |
9 |
|
(Real;Real) |
Various |
link |
✔ |
Y |
10 |
|
(Real;Real) |
Various |
link |
✔ |
Y |
11 |
|
(Real;Real) |
Various |
link |
✔ |
Y |
12 |
|
(Real;Real) |
Various |
link |
✔ |
Y |
13 |
|
(Real;Real) |
Various |
link |
✔ |
Y |
14 |
|
(B;B) |
B |
link |
✔ |
Y |
15 |
|
(B;B) |
B |
link |
✔ |
Y |
16 |
|
(B;B) |
B |
link |
✔ |
Y |
17 |
|
(B;B) |
B |
link |
✔ |
Y |
18 |
|
(B;B) |
B |
link |
✔ |
Y |
* Source, db functions |
** CP: Comparable
3.1 Unary
No. |
Function |
Type of Arg(s)* |
Type of Value |
Details |
Status |
Parallel |
1 |
|
Basic |
L |
link |
✔ |
P |
2 |
|
Any |
S |
link |
|
|
3 |
|
Any |
L |
link |
✔ |
N |
4 |
|
Int |
L |
link |
✔ |
Y |
5 |
|
Int |
L |
link |
✔ |
Y |
6 |
|
Int |
Same as argument |
link |
✔ |
N |
7 |
|
Int |
L |
link |
✔ |
N |
8 |
|
Dict, Table |
Table or Dict |
link |
✔ |
N |
9 |
|
Basic |
Same as argument |
link |
✔ |
Y |
10 |
|
B |
L |
link |
✔ |
Y |
11 |
|
Basic |
List |
link |
✔ |
Y |
3.2 Binary
No. |
Function |
Type of Arg(s)* |
Type of Value |
Details |
Status |
Parallel |
1 |
|
Various |
Various |
link |
✔ |
Y |
2 |
|
(String; String) |
B |
link |
✔ |
Y |
3 |
|
(B;Basic) |
Same as the 2nd argument |
link |
✔ |
? |
4 |
|
(Int;Int) |
L |
link |
✔ |
N |
5 |
|
(Basic;Basic) |
L |
link |
✔ |
Y |
6 |
|
(Int;Any) |
Same as the 2nd argument |
link |
✔ |
Y |
7 |
|
(Int;Any) |
Same as the 2nd argument |
link |
✔ |
Y |
8 |
|
(Real;B) |
L |
link |
✔ |
N |
9 |
|
(Basic;Basic) |
B |
link |
✔ |
? |
10 |
|
(L;Basic,List) |
Basic or List |
link |
✔ |
P |
3.3 Reduction
No. |
Function |
Type of Arg(s)* |
Type of Value |
Details |
Status |
Parallel |
1 |
|
Real |
Same as argument |
link |
✔ |
Y |
2 |
|
Real |
Same as argument |
link |
✔ |
Y |
3 |
|
Real |
Same as argument |
link |
✔ |
N |
4 |
|
Real |
Same as argument |
link |
✔ |
N |
3.4 List
No. |
Function |
Type of Arg(s)* |
Type of Value |
Details |
Status |
Parallel |
1 |
|
List, Basic |
Basic |
link |
✔ |
N |
2 |
|
(Any,...) |
List |
link |
✔ |
N |
3 |
|
Basic |
List |
link |
✔ |
?(CHECKE) |
4 |
|
(Func; List) |
List |
link |
✔ |
?(CHECKE) |
5 |
|
(Func; List; List) |
List |
link |
✔ |
?(CHECKE) |
6 |
|
(Func; List; List) |
List |
link |
✔ |
?(CHECKE) |
7 |
|
(Func; List; List) |
List |
link |
✔ |
?(CHECKE) |
8 |
|
(Any; Any) |
Bool |
link |
✔ |
N |
No. |
Function |
Type of Arg(s)* |
Type of Value |
Details |
Status |
Parallel |
1 |
|
(Basic;Basic),(List;List) |
Enum |
link |
✔ |
N |
2 |
|
(Any;Any) |
Dict |
link |
✔ |
? |
3 |
|
(List;Column) |
Table |
link |
✔ |
? |
4 |
|
(Table;Table) |
KTable |
link |
✔ |
N |
5 |
|
Table, KTable, Dict |
List |
link |
✔ |
?(CHECKE) |
6 |
|
Various |
Various |
link |
✔ |
N |
7 |
|
Various |
Table |
link |
✔ |
N |
8 |
|
Y |
Various |
link |
✔ |
Y |
9 |
|
Table, KTable |
Various |
link |
✔ |
N |
10 |
|
Symbol |
Table, KTable |
link |
✔ |
N |
11 |
|
(Calendar;Int;Sym) |
Calendar |
link |
✔ |
Y |
12 |
|
(Calendar;Int;Sym) |
Calendar |
link |
✔ |
Y |
13 |
|
(func;Real;Real) |
List |
link |
✔ |
? |
5. Misc
No. |
Function |
Type of Arg(s)* |
Type of Value |
Details |
Status |
Parallel |
1 |
|
Various |
Various |
link |
✔ |
Y |
2 |
|
(BasicA;Int;BasicB) |
BasicB |
link |
✔ |
N |
3 |
|
String |
Table |
link |
✔ |
N |
4 |
|
Any |
L (exit code) |
link |
✔ |
N |
5 |
|
(str;Int;Int) |
str |
link |
✔ |
N |
6 |
|
B |
B |
link |
✔ |
N |
7 |
|
B |
B |
link |
✔ |
N |
8 |
|
Real |
L or E |
link |
✔ |
N |