This is a submodule of .

Selectors create new views and iteration patterns over the same data, without copying.

.

Subspace selectors serve to generalize and combine other selectors easily. For a slice of

Slice!(Iterator, N, kind)
type
slice.pack!K
creates a slice of slices of
Slice!(kind, [N - K, K], Iterator)
type by packing the last
K
dimensions of the top dimension pack, and the type of element of is
Slice!(Iterator, K)
. Another way to use is transposition of dimension packs using . Examples of use of subspace selectors are available for selectors, , and .

License

.

Copyright

Copyright © 2016-, Ilya Yaroshenko

Authors

Ilya Yaroshenko

Sponsors

Part of this work has been sponsored by Symmetry Investments and Kaleidic Associates.

Enums

ReshapeError

Aliases

pairwise
slide!(lag + 1, fun)
Returns:

, .

diff
pairwise!(('a' + lag) ~ " - a", lag)
Returns:

, .

Functions

universalautoReturns:

, , .

canonicalReturns:

, , .

assumeCanonicalReturns:

, , .

assumeContiguousReturns:

, , .

assumeFieldsHaveZeroShiftauto
packReturns:
ipack
unpackReturns:

,

evertPackReturns:

,

iotaReturns:
iotaReturns:
iotaReturns:
iotaReturns:
iotaReturns:
diagonalReturns:
antidiagonalReturns:
blocksReturns:
windowsReturns:

packed

N
-dimensional slice composed of
N
-dimensional slices

reshapeReturns:

reshaped slice

flattenedReturns:

contiguous 1-dimensional slice of elements of the

slice

flattenedReturns:

contiguous 1-dimensional slice of elements of the

slice

flattenedReturns:

contiguous 1-dimensional slice of elements of the

slice

ndiotaReturns:
linspaceautoReturns:
repeat@trustedReturns:

n
-dimensional slice composed of identical values, where
n
is dimension count.

repeatReturns:

n
-dimensional slice composed of identical values, where
n
is dimension count.

cycleauto
cycleauto
cycleauto
cycleauto
cycleauto
cycleauto
cycleauto
strideautoReturns:
strideautoReturns:
strideautoReturns:
retro@trustedautoReturns:

, .

retroautoReturns:

, .

retroautoReturns:

, .

bitwiseautoReturns:

A bitwise slice.

bitwiseautoReturns:

A bitwise slice.

bitwiseautoReturns:

A bitwise slice.

bitwiseFieldautoReturns:

A bitwise field.

bitpackautoReturns:

A bitpack slice.

bitpackautoReturns:

A bitpack slice.

bitpackautoReturns:

A bitpack slice.

bytegroupReturns:

A bytegroup slice.

bytegroupautoReturns:

A bytegroup slice.

bytegroupautoReturns:

A bytegroup slice.

vmap@optmath, auto
vmapauto
vmapauto
cachedReturns:

, , ,

cachedGC@trustedReturns:

, , ,

cachedGCautoReturns:

, , ,

cachedGCautoReturns:

, , ,

indexedReturns:

indexed
is similar to , but a field (
[]
) is used instead of a function (
()
), and order of arguments is reversed.

indexedautoReturns:

indexed
is similar to , but a field (
[]
) is used instead of a function (
()
), and order of arguments is reversed.

indexedautoReturns:

indexed
is similar to , but a field (
[]
) is used instead of a function (
()
), and order of arguments is reversed.

subSlicesReturns:

, .

subSlicesautoReturns:

, .

subSlicesautoReturns:

, .

choppedReturns:

, .

choppedautoReturns:

, .

choppedautoReturns:

, .

zipautoReturns:

.

unzipautoReturns:

unzipped slice

cartesianautoReturns:

!NdFields(fields).
;

magicautoReturns:

Lazy magic matrix.

stairsReturns:
stairsReturns:
stairsautoReturns:
stairsautoReturns:

,

tripletsReturns:

.

tripletsReturns:

.

tripletsautoReturns:

.

Templates

iotaReturns:
map
asReturns:

,

slide
kronecker
byDimReturns:

, , .

memberReturns:
orthogonalReduceField