Drop: Difference between revisions

Jump to navigation Jump to search
92 bytes added ,  02:49, 17 July 2021
Miraheze>Adám Brudzewsky
m (Text replacement - "</code>" to "</source>")
(→‎Documentation: BQN link)
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Primitive|↓|Drop}} is a [[primitive function]] which removes part of each [[axis]] of an array. The removed portions are exactly those that [[Take]] would include in its result. Drop is subject to the same extensions as [[Take]], and a detailed description of those extensions and their history is given in that article rather than this one. Unlike Take, Drop never uses [[fill elements]] and the result is always a [[subarray]] of the argument.
{{Built-in|Drop|↓}} is a [[primitive function]] which removes part of each [[axis]] of an array. The removed portions are exactly those that [[Take]] would include in its result. Drop is subject to the same extensions as [[Take]], and a detailed description of those extensions and their history is given in that article rather than this one. Unlike Take, Drop never uses [[fill elements]] and the result is always a [[subarray]] of the argument.


== Examples ==
== Examples ==
Line 57: Line 57:
=== Documentation ===
=== Documentation ===


* [http://help.dyalog.com/latest/Content/Language/Primitive%20Functions/Drop.htm Dyalog] ([http://help.dyalog.com/latest/Content/Language/Primitive%20Functions/Drop%20with%20Axes.htm with axis])
* [https://help.dyalog.com/latest/index.htm#Language/Primitive%20Functions/Drop.htm Dyalog] ([https://help.dyalog.com/latest/index.htm#Language/Primitive%20Functions/Drop%20with%20Axes.htm with axis])


* [http://microapl.com/apl_help/ch_020_020_570.htm APLX]
* [http://microapl.com/apl_help/ch_020_020_570.htm APLX]


* [https://www.jsoftware.com/help/dictionary/d531.htm J Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/curlyrtdot#dyadic J NuVoc] (as <source lang=apl inline>}.</source>)
* [https://www.jsoftware.com/help/dictionary/d531.htm J Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/curlyrtdot#dyadic J NuVoc] (as <source lang=apl inline>}.</source>)
{{APL built-ins}}
 
* [https://mlochbaum.github.io/BQN/doc/take.html BQN]
{{APL built-ins}}[[Category:Primitive functions]]

Navigation menu