HyperView User's Guide

Vector Operators

Vector Operators

Previous topic Next topic Expand/collapse all hidden text  

Vector Operators

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The Math library contains the following Vector operators:

hmtoggle_plus1Cross

Stores the vector product of lhs and rhs into answer.

Inputs

lhs: a vector value table.

rhs: a vector value table.

Outputs

answer: a vector value table.

Notes

lhs, rhs, and answer must be vector format.
If lhs is a constant value table (created by the Constant operator), no records will be added to the answer table.

Expression Builder

cross(lhs, rhs)

XML Example

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

hmtoggle_plus1Dot

Stores the scalar product of lhs and rhs into answer.

Inputs

lhs: a vector value table.

rhs: a vector value table.

Outputs

answer: a scalar value table.

Notes

lhs and rhs be vector format.
answer must be scalar format.
If lhs is a constant value table (created by the Constant operator), no records will be added to the answer table.

Expression Builder

dot(lhs, rhs)

XML Example

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

hmtoggle_plus1Project

Stores the projection of lhs onto rhs into answer.

Inputs

lhs: a vector value table.

rhs: a vector value table.

Outputs

answer: a vector value table.

Notes

lhs, rhs, and answer must be vector format.
If lhs is a constant value table (created by the Constant operator), no records will be added to the answer table.

Expression Builder

proj(lhs, rhs)

XML Example

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

hmtoggle_plus1VectorFromScalar

Creates a vector from three scalar tables and stores the result in answer.

Inputs

x: a scalar value table.

y: a scalar value table.

z: a scalar value table.

sysid: a system ID or keyword (default = 0).

Outputs

answer: a vector value table.

Notes

x, y, z, and answer must be real bound to the same entity type, and of the same domain (complex or real).
sysid is a string containing an ID or keyword that defines the system the vector will be created relative to:
o0”: Global (the default)
oA positive integer: a system ID in the model
o“elem”:  the elemental coordinate system
o“anal”: the nodal analysis system
o“ply”: the elemental ply system
o“mat”: the elemental material system
If x is a constant value table (created by the Constant operator), no records will be added to the answer table.
If a record cannot be found in all three input scalar tables, no vector will be created.

Expression Builder

VectorFromScalar(xs,ys,zs)

XML Example

<call name="VectorFromScalar" x="xs_tab" y="ys_tab"
z="zs_tab" answer="ans_tab" />