Jump to content

Talk:Array slicing

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Fustis (talk | contribs) at 19:08, 29 September 2014 (Slices in Fortran 66: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing: CompSci Start‑class
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Computer science.
Things you can help WikiProject Computer science with:

Array slicing survived Wikipedia:VFD. See: Wikipedia:Votes for deletion/Array slicing -- Wile E. Heresiarch 06:27, 25 Jun 2004 (UTC)


I'm interested in seeing a discussion of the implementation of the internal implementation (data structures) used for array slicing, especially in the multi-dimensional and dynamic array scenarios. Dataphile 00:14, Aug 15, 2004 (UTC)


Another interesting aspect to be mentioned here is the difference between 0-based and 1-based languqages. Typically in 0-based environments, slicing functions/methods take two args, the first for the first element to be returned, and a second index-arg that usually specifies 1 number higher than the last element to be extracted. There is quite a bit of info on this subject, as a google on slicing "0-based" "1-based" shows. 141.152.253.15 17:21, 19 November 2005 (UTC)[reply]


Just a question, but in the Fortran 90 section, should PRINT statements be used? I know that PRINT isn't obsolete or deprecated, but I was always taught that WRITE is the "correct" method of output because it can output to more than standard output, which is all PRINT can do, and that WRITE allows use of the extra options (ADVANCE, etc.) TheMatt (talk) 17:34, 8 October 2009 (UTC)[reply]

Slices in Fortran 66

This section is wrong. First, arrays are stored by column in Fortran, so the example is a column slice, not a row slice. But row slices are very easy, you have just to pass an increment along the array and its length. A fairly common trick in libraries, like BLAS. Fustis (talk) 19:08, 29 September 2014 (UTC)[reply]