Uiua: Difference between revisions

Jump to navigation Jump to search
211 bytes removed ,  27 January
m
Don't center the tables; shorten some long rows
(Fix some links; remove links that don't make sense for APL Wiki pages (particularly stack ops))
m (Don't center the tables; shorten some long rows)
Line 35: Line 35:
==== Stack ====
==== Stack ====
Work with the stack
Work with the stack
{| class="wikitable" style="margin:auto"
{| class="wikitable"
|+ Table of Stack function in Uiua
|+ Table of Stack function in Uiua
|-
|-
Line 69: Line 69:
==== Monadic Pervasive ====
==== Monadic Pervasive ====
Operate on every element in an array
Operate on every element in an array
{| class="wikitable" style="margin:auto"
{| class="wikitable"
|+ Table of Monadic Pervasive in Uiua
|+ Table of Monadic Pervasive in Uiua
! Glyph !! Name !! Definition
! Glyph !! Name !! Definition
Line 93: Line 93:
==== Dyadic Pervasive ====
==== Dyadic Pervasive ====
Operate on every pair of elements in two arrays (Note that True is 1 and False is 0)
Operate on every pair of elements in two arrays (Note that True is 1 and False is 0)
{| class="wikitable" style="margin:auto"
{| class="wikitable"
|+ Table of Monadic Pervasive in Uiua
|+ Table of Monadic Pervasive in Uiua
! Glyph !! Name !! Definition !! Formats from:
! Glyph !! Name !! Definition !! Formats from:
Line 129: Line 129:
| <code>∠</code> || Atangent || Take the arctangent of two numbers || atan
| <code>∠</code> || Atangent || Take the arctangent of two numbers || atan
|-
|-
| <code>ℂ</code> || [[Complex (function)|Complex]] || Make a complex number.The first argument is the imaginary part, and the second argument is the real part || com
| <code>ℂ</code> || [[Complex (function)|Complex]] || Make a complex number from imaginary and real parts || com
|}
|}
====  Monadic Array ====
====  Monadic Array ====
Operate on a single array
Operate on a single array
{| class="wikitable" style="margin:auto"
{| class="wikitable"
|+ Table of Monadic Array in Uiua
|+ Table of Monadic Array in Uiua
! Glyph !! Name !! Definition  
! Glyph !! Name !! Definition  
Line 167: Line 167:
| <code>◰</code> || [[Nub Sieve|Unique]] || Get a mask of first occurrences of items in an array
| <code>◰</code> || [[Nub Sieve|Unique]] || Get a mask of first occurrences of items in an array
|-
|-
| <code>□</code> || [[Box]] || Turn an array into a box. The box function is complicated, so you can look at [https://www.uiua.org/docs/box] for more information
| <code>□</code> || [[Box]] || Turn an array into a box ([documentation https://www.uiua.org/docs/box])
|-
|-
|}
|}
==== Dyadic Array ====
==== Dyadic Array ====
Operate on two arrays
Operate on two arrays
{| class="wikitable" style="margin:auto"
{| class="wikitable"
|+ Table of Monadic Array in Uiua
|+ Table of Monadic Array in Uiua
! Glyph !! Name !! Definition  
! Glyph !! Name !! Definition  

Navigation menu