You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I wanted to know how to swap variables. Therefore, I looked for swap.
The current results are:
APL Phrase
Explanation
X f⍨Y
Commute: same as Y f X
Z f⍨X,Y
Avoiding parentheses by swapping arguments in (X,Y) f Z
(¯11○+)N
Swap real and imaginary
{⌽@(1,≢⍵)⊢⍵}Y
Interchange first and last major cells
{n=≢∪n|⍵+⍳n←≢⍵}Jv
Valid siteswap pattern?
These phrases do not allow me to perform this action.
Describe the solution you'd like
I would have included an APL phrase based on an example given in Bernard Legrand, Mastering Dyalog APL: A Complete Introduction to Dyalog APL (2009), Chapter X, B-5:
APL Phrase
Explanation
X[4 6] ← X[6 4]
Swap two variables
Describe alternatives you've considered
N/A
Additional context
I am a beginner APL programmer.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I wanted to know how to swap variables. Therefore, I looked for
swap
.The current results are:
X f⍨Y
Y f X
Z f⍨X,Y
(X,Y) f Z
(¯11○+)N
{⌽@(1,≢⍵)⊢⍵}Y
{n=≢∪n|⍵+⍳n←≢⍵}Jv
These phrases do not allow me to perform this action.
Describe the solution you'd like
I would have included an APL phrase based on an example given in Bernard Legrand, Mastering Dyalog APL: A Complete Introduction to Dyalog APL (2009), Chapter X, B-5:
X[4 6] ← X[6 4]
Describe alternatives you've considered
N/A
Additional context
I am a beginner APL programmer.
The text was updated successfully, but these errors were encountered: