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
| Name | Description | Type | Default |
|---|---|---|---|
| class | The class name for the module; must be "Shift". | string | |
| name | The name of this instance of the module. | string | |
| offset_x | Initial shift of the matrix | float | 0.0 |
| offset_y | Initial shift of the matrix | float | 0.0 |
| direction | The direction and scaling of the shift | float | 1.0 |
Module Connections
Inputs
| Name | Description |
|---|---|
| INPUT | The first input |
| SHIFT | The distance to shift the input in [X, Y] form |
Outputs
| Name | Description |
|---|---|
| OUTPUT | The output |
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
Shift.h
Shift.cc
Shift.ikc