Init
This commit is contained in:
31
cppdraft/gslice/access.md
Normal file
31
cppdraft/gslice/access.md
Normal file
@@ -0,0 +1,31 @@
|
||||
[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)
|
||||
Reference in New Issue
Block a user