Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Array slicing
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==History== The concept of slicing was surely known even before the invention of [[compiler]]s. Slicing as a language feature probably started with [[FORTRAN]] (1957), more as a consequence of non-existent type and range checking than by design. The concept was also alluded to in the preliminary report for the [[ALGOL 58|IAL]] (ALGOL 58) in that the syntax allowed one or more indices of an array element (or, for that matter, of a procedure call) to be omitted when used as an actual parameter. [[Kenneth E. Iverson|Kenneth Iverson]]'s [[APL programming language|APL]] (1957) had very flexible multi-dimensional array slicing, which contributed much to the language's expressive power and popularity. [[ALGOL 68]] (1968) introduced comprehensive multi-dimension array slicing and trimming features. Array slicing facilities have been incorporated in several modern languages, such as [[Ada (programming language)|Ada]], [[Cobra (programming language)|Cobra]], [[D programming language|D]], [[Fortran|Fortran 90]], [[Go (programming language)|Go]], [[Rust (programming language)|Rust]], [[Julia_(programming language)|Julia]], [[MATLAB]], [[Perl]], [[Python (programming language)|Python]], [[S-Lang]], [[Windows PowerShell]] and the mathematical/statistical languages [[GNU Octave]], [[S (programming language)|S]] and [[R (programming language)|R]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)