first commit
This commit is contained in:
11
extern/stdcxx/4.2.1/examples/manual/out/slice_array.out
vendored
Normal file
11
extern/stdcxx/4.2.1/examples/manual/out/slice_array.out
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
original valarray vi
|
||||
|
||||
[0,1,2,3,4,5,6,7,8]
|
||||
|
||||
vi[slice(0,3,3)]
|
||||
|
||||
[0,3,6]
|
||||
|
||||
vi[slice(0,3,3)] = vi[slice(1,3,3)] + vi[slice(2,3,3)]
|
||||
|
||||
[3,1,2,9,4,5,15,7,8]
|
||||
Reference in New Issue
Block a user