Overview

slice


Show Summary Details

Quick Reference

Of an array.

1 The array of lower dimension that is obtained by fixing one or more of the indexes of the original array. For example, if A is a 3×4 two-dimensional array then the slice A[2,] denotes the one-dimensional row vector comprising the second row of A while A[,3] denotes the column vector comprising the third column.

2 (trim) The array that is obtained from a larger array of dimension n by restricting the range of an index. For example, if A is a 3×4 two-dimensional array then the 2×4 two-dimensional array comprising the first two rows only of A is a slice of A.

Subjects: Computing.


Reference entries

Users without a subscription are not able to see the full content. Please, subscribe or login to access all content.