[gslice.cons] # 29 Numerics library [[numerics]](./#numerics) ## 29.6 Numeric arrays [[numarray]](numarray#gslice.cons) ### 29.6.6 The gslice class [[class.gslice]](class.gslice#gslice.cons) #### 29.6.6.2 Constructors [gslice.cons] [🔗](#lib:gslice,constructor) `gslice(); gslice(size_t start, const valarray& lengths, const valarray& strides); ` [1](#1) [#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/numerics.tex#L8720) The default constructor is equivalent togslice(0, valarray(), valarray())[.](#1.sentence-1) The constructor with arguments builds agslice based on a specification of start, lengths, and strides, as explained in the previous subclause[.](#1.sentence-2)