28
Numerics library
[numerics]
28.6
Numeric arrays
[numarray]
28.6.6
The
gslice
class
[class.gslice]
28.6.6.2
Constructors
[gslice.cons]
🔗
gslice
(
)
; gslice
(
size_t start,
const
valarray
<
size_t
>
&
lengths,
const
valarray
<
size_t
>
&
strides
)
;
1
#
The default constructor is equivalent to
gslice
(
0
, valarray
<
size_
t
>
(
)
, valarray
<
size_
t
>
(
)
)
.
The constructor with arguments builds a
gslice
based on a specification of start, lengths, and strides, as explained in the previous subclause
.