Files
cppdraft_translate/cppdraft/gslice/access.md
2025-10-25 03:02:53 +03:00

855 B

[gslice.access]

29 Numerics library [numerics]

29.6 Numeric arrays [numarray]

29.6.6 The gslice class [class.gslice]

29.6.6.3 Access functions [gslice.access]

🔗

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

1

#

Returns: The representation of the start, lengths, or strides specified for the gslice.

2

#

Complexity: start() is constant time.

size() and stride() are linear in the number of strides.