Add

Adds records in lhs to rhs and stores the result in answer.

Inputs

lhs
A value table.
rhs
A value table.

Outputs

answer
A value table.

Comments

  • lhs, rhs, and answer must be of the same binding.
  • lhs, rhs, and answer must be of the same format (after promotion).
  • If lhs and rhs are both constant value tables (created by the Constant operator), no records will be added to the answer table.
  • When adding directional values such as vector and tensor, no checks are made to verify they are relative to the same system.

Syntax

lhs + rhs

XML Example

<call name="Add" lhs="lhs_tab" rhs="rhs_tab" answer="ans_tab" />