This is a submodule of . Operators only change strides and lengths of a slice. The range of a slice remains unmodified. All operators return slice as the type of the argument, maybe except slice kind.

See also .

Some operators are bifacial, i.e. they have two versions: one with template parameters, and another one with function parameters. Versions with template parameters are preferable because they allow compile time checks and can be optimized better.

Bifacial interface of , , and is identical to that of . Bifacial interface of and is identical to that of .

License

.

Copyright

Copyright © 2016, Ilya Yaroshenko

Authors

Ilya Yaroshenko

Functions

normalizeStructureReturns:

true
if the slice can be safely casted to kind using and false otherwise.

swappedautoReturns:

,

swappedReturns:

,

rotatedautoReturns:

n-dimensional slice

rotatedReturns:

n-dimensional slice

evertedautoReturns:

,

transposedautoReturns:

,

transposedReturns:

,

allReversedReturns:

n-dimensional slice

reversed@trustedReturns:

n-dimensional slice

reversedautoReturns:

n-dimensional slice

stridedReturns:

n-dimensional slice

dropToHypercubeReturns:

n-dimensional slice

dropToHypercubeReturns:

n-dimensional slice

Templates

swappedReturns:

,

rotatedReturns:

n-dimensional slice

transposedReturns:

,

reversedReturns:

n-dimensional slice

stridedReturns:

n-dimensional slice