Constant

Module that outputs a constant array or matrix each time step. It can be one or two dimensional depending on whether outputsize_x and outputsize_y or only outputsize is used in the ikc definition.

Example XML definition

A simple example

  <module
      class = "Constant"
      name = "Constant"
      outputsize = "4"
      data = "1 2 3 4"
  />

Matrix example

  <module
      class = "Constant"
      name = "MatrixConstant"
      outputsize_x = "3"
      outputsize_y = "3"
      data = "1 2 3 2 3 4 3 4 5"
  />

Module Connections

Outputs

NameDescription
OUTPUTThe output.

Author

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

Files

Constant.h
Constant.cc
Constant.ikc