Divide

Module that divides its two inputs component by component. Both inputs must have the same size. The division is safe when input2 = 0. In this case the result will be set to 0.

Example XML definition

Example

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

Module Connections

Inputs

NameDescription
INPUT1The first input
INPUT2The second input

Outputs

NameDescription
OUTPUTThe output is the quotient of each elements of the two inputs: INPUT1 / INPUT2

Author

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

Files

Divide.h
Divide.cc
Divide.ikc

blog comments powered by Disqus