Multiply

Multiplies records in lhs with 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.
  • If lhs and rhs are vectors or tensors, a component-wise multiplication is performed, functioning as a scale operation).

Syntax

lhs * rhs

XML Example

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