(APL) About the power and circle functions

91 Views Asked by At

Why does *○0j1 outputs -1 but *(○0j1) doesn’t? (¯1j1e¯16) What is the difference between them?

Expected *(○0j1) to output the same thing as *○0j1

1

There are 1 best solutions below

0
Silas On BEST ANSWER

Assuming this is Dyalog APL, then it's because *○0j1 is recognised as an idiom and the exact expected result is returned rather than being calculated as *(○0j1) is.

Dyalog's idiom list is here