Shift

Module that shifts the elements of a matrix the distance in the x and y direction indicated by the input SHIFT.

Example XML definition

A simple example

  <module
      class = "Shift"
      name = "Shift"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "Shift".string
nameThe name of this instance of the module.string
offset_xInitial shift of the matrixfloat0.0
offset_yInitial shift of the matrixfloat0.0
directionThe direction and scaling of the shiftfloat1.0

Module Connections

Inputs

NameDescription
INPUTThe first input
SHIFTThe distance to shift the input in [X, Y] form

Outputs

NameDescription
OUTPUTThe output

Author

Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science

Files

Shift.h
Shift.cc
Shift.ikc

blog comments powered by Disqus