The Math library contains the following Vector operators:
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" />
|
|
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" />
|
|
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" />
|
|
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: |
o | “0”: Global (the default) |
o | A 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" />
|
|