Mesh: Difference between revisions

Jump to navigation Jump to search
5 bytes added ,  18:16, 26 April 2020
no edit summary
(dzaima/APL update)
No edit summary
Line 2: Line 2:
|<math>\backslash{}a,u,b\backslash</math>
|<math>\backslash{}a,u,b\backslash</math>
|}
|}
In [[Iverson notation]], '''Mesh''' (<math>\backslash{}a,u,b\backslash</math>) is a three-argument operation which merges two equal-[[rank]] arguments according to a [[Boolean]] [[vector]]. The relationship between [[Mask]] and Mesh is similar to that between [[Compress]] and [[Expand]]. A related function also named Mesh is implemented in [[NARS]] and [[NARS2000]] as a case of [[Compose]]: <source lang=apl inline>L(a∘\)R</source> combines <source lang=apl inline>L</source> and <source lang=apl inline>R</source> using an integer (not Boolean) control vector. [[Bob Bernecky]] has suggested the syntax <source lang=apl inline>a(u\)b</source> (requiring [[Expand]] to be an [[operator]]) for <math>\backslash{}a,u,b\backslash</math>.<ref>[[Bob Bernecky|Bernecky, Robert]]. "Mask and Mesh Revisited". [[APL2010]].</ref>
In [[Iverson notation]], '''Mesh''' (<math>\backslash{}a,u,b\backslash</math>) is a three-argument operation which merges two equal-[[rank]] arguments according to a [[Boolean]] [[vector]]. The relationship between [[Mask]] and Mesh is similar to that between [[Compress]] and [[Expand]]. A related function also named Mesh is implemented in [[NARS]] and [[NARS2000]] as a case of [[Bind|Compose]]: <source lang=apl inline>L(a∘\)R</source> combines <source lang=apl inline>L</source> and <source lang=apl inline>R</source> using an integer (not Boolean) control vector. [[Bob Bernecky]] has suggested the syntax <source lang=apl inline>a(u\)b</source> (requiring [[Expand]] to be an [[operator]]) for <math>\backslash{}a,u,b\backslash</math>.<ref>[[Bob Bernecky|Bernecky, Robert]]. "Mask and Mesh Revisited". [[APL2010]].</ref>


== In Iverson notation ==
== In Iverson notation ==
trusted
41

edits

Navigation menu