Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 428 Bytes

File metadata and controls

19 lines (13 loc) · 428 Bytes

shift

Shift an operator by a given amount either positive or negative along one dimension

.. doxygenfunction:: shift(OpT op, ShiftOpT s)
.. doxygenfunction:: shift(OpT op, ShiftT s, ShiftsT... shifts)

Examples

.. literalinclude:: ../../../../test/00_operators/shift_test.cu
   :language: cpp
   :start-after: example-begin shift-test-1
   :end-before: example-end shift-test-1
   :dedent: