Reciprocal

Stores the reciprocal of src in answer.

Inputs

src
A value table.

Outputs

answer
A value table.

Comments

  • src, and answer must be of the same binding and format.
  • If src is a constant value table (created by the Constant operator), no records will be added to the answer table.
  • If a record in src contains any zeros, no value will be placed in the answer table.
  • If src contains multiple components (a vector or tensor value), answer will contain the same number of components with each being the reciprocal of src (for example, if src is a vector, answer will contain components of 1/x, 1/y, and 1/z).

Syntax

recip(src)

XML Example

<call name="Reciprocal" src="src_tab" answer="ans_tab" />