2010: Cilk Plus
Cilk Plus supports syntax for array slicing as an extension to C and C++.
array_base ]*Cilk Plus slicing looks as follows:
A // All of vector A B // Elements 2 to 7 of vector B C // Column 5 of matrix C D // Elements 0, 2, 4 of vector DDiffers from Fortran array slicing syntax by using length as the second parameter instead of the upper bound, in order to be consistent with standard C libraries.
Differs from Fortran array assignment semantics in that assignments are required to be either non-overlapping or perfectly overlapping, otherwise the result is undefined. This means temporaries are never required by the semantics.
Read more about this topic: Array Slicing, Timeline of Slicing in Various Programming Languages
Main Site Subjects
Related Phrases
Related Words