@@ -6,7 +6,7 @@ Return a new `StaticVector` with `item` inserted on the end of `vec`.
6
6
# Examples
7
7
```jldoctest
8
8
julia> push(@SVector[1, 2, 3], 4)
9
- 4-element SArray{Tuple{4}, Int64,1,4 } with indices SOneTo(4):
9
+ 4-element SVector{4, Int64} with indices SOneTo(4):
10
10
1
11
11
2
12
12
3
@@ -31,7 +31,7 @@ Return a new `StaticVector` with `item` inserted at the beginning of `vec`.
31
31
# Examples
32
32
```jldoctest
33
33
julia> pushfirst(@SVector[1, 2, 3, 4], 5)
34
- 5-element SArray{Tuple{5}, Int64,1,5 } with indices SOneTo(5):
34
+ 5-element SVector{5, Int64} with indices SOneTo(5):
35
35
5
36
36
1
37
37
2
@@ -57,7 +57,7 @@ Return a new vector with `item` inserted into `vec` at the given `index`.
57
57
# Examples
58
58
```jldoctest
59
59
julia> insert(@SVector[6, 5, 4, 2, 1], 4, 3)
60
- 6-element SArray{Tuple{6}, Int64,1,6 } with indices SOneTo(6):
60
+ 6-element SVector{6, Int64} with indices SOneTo(6):
61
61
6
62
62
5
63
63
4
@@ -89,7 +89,7 @@ Return a new vector with the last item in `vec` removed.
89
89
# Examples
90
90
```jldoctest
91
91
julia> pop(@SVector[1,2,3])
92
- 2-element SArray{Tuple{2}, Int64,1,2 } with indices SOneTo(2):
92
+ 2-element SVector{2, Int64} with indices SOneTo(2):
93
93
1
94
94
2
95
95
```
@@ -112,7 +112,7 @@ Return a new vector with the first item in `vec` removed.
112
112
# Examples
113
113
```jldoctest
114
114
julia> popfirst(@SVector[1,2,3])
115
- 2-element SArray{Tuple{2}, Int64,1,2 } with indices SOneTo(2):
115
+ 2-element SVector{2, Int64} with indices SOneTo(2):
116
116
2
117
117
3
118
118
```
@@ -135,7 +135,7 @@ Return a new vector with the item at the given `index` removed.
135
135
# Examples
136
136
```jldoctest
137
137
julia> deleteat(@SVector[6, 5, 4, 3, 2, 1], 2)
138
- 5-element SArray{Tuple{5}, Int64,1,5 } with indices SOneTo(5):
138
+ 5-element SVector{5, Int64} with indices SOneTo(5):
139
139
6
140
140
4
141
141
3
@@ -171,13 +171,13 @@ Return a new array with the item at `index` replaced by `x`.
171
171
# Examples
172
172
```jldoctest
173
173
julia> setindex(@SVector[1,2,3], 4, 2)
174
- 3-element SArray{Tuple{3}, Int64,1,3 } with indices SOneTo(3):
174
+ 3-element SVector{3, Int64} with indices SOneTo(3):
175
175
1
176
176
4
177
177
3
178
178
179
179
julia> setindex(@SMatrix[2 4; 6 8], 1, 2)
180
- 2×2 SArray{Tuple{2,2}, Int64,2, 4} with indices SOneTo(2)×SOneTo(2):
180
+ 2×2 SMatrix{2, 2, Int64, 4} with indices SOneTo(2)×SOneTo(2):
181
181
2 4
182
182
1 8
183
183
```
0 commit comments