System Function FMT
From NARS2000
Monadic Function
|
||||
R is an arbitrary array. | ||||
Z is a character matrix which reveals the array structure and types of the elements of R. |
For example,
⎕fmt ⍳3 ┌3────┐ │1 2 3│ └~────┘ ⎕fmt ⍳¨⍳3 ┌3────────────────────┐ │ ┌1┐ ┌2──┐ ┌3────┐ │ │ │1│ │1 2│ │1 2 3│ │ │ └~┘ └~──┘ └~────┘ 2 └∊────────────────────┘ ⎕fmt 1 1 4⍴23 'abc' '*' (2 3⍴⍳6) ┌┬4───────────────────────┐ 11 ┌3──┐ ┌3─────┐ │ ││ 23 │abc│ * 2 1 2 3│ │ ││ ~~ └───┘ ¯ │ 4 5 6│ │ ││ └~─────┘ 2 └┴∊───────────────────────┘
This function is implemented via the Magic Functions #MonFMT and #Box.
Dyadic Function
|
||||
R is a simple scalar, vector, or matrix, or it is a nested vector of simple vectors. | ||||
L is a character scalar or vector. |
This function is not as yet implemented.