2,951
edits
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: | ||
{{ | {{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 === | ||
* [ | * [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]] |