[gslice.access]

# 29 Numerics library [[numerics]](./#numerics)

## 29.6 Numeric arrays [[numarray]](numarray#gslice.access)

### 29.6.6 The gslice class [[class.gslice]](class.gslice#gslice.access)

#### 29.6.6.3 Access functions [gslice.access]

[ð](#lib:start,gslice)

`size_t           start()  const;
valarray<size_t> size() const;
valarray<size_t> stride() const;
`

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L8741)

*Returns*: The representation of the
start, lengths, or strides specified for the gslice[.](#1.sentence-1)

[2](#2)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L8746)

*Complexity*: start() is constant time[.](#2.sentence-1)

size() and stride() are linear in the number of strides[.](#2.sentence-2)
