Contents - Index


VectorUnit_k

 

The VectorUnit_k function takes no parameters.  It returns the j-unit vector, e.g., (0,0,1).  The vector to which the unit vector is assigned must have previously been defined with the $Vector directive.  This function is not applicable to 2D vectors.

 

VectorUnit_j may be followed by multiplication/division with a scalar or addition/subtraction of a vector.

 

Example: 

$Vector Z

Z=VectorUnit_k*(3 [kN])

 

{Solution:

Z = (0, 0, 3) [kN]

}

 

See also:  VectorAssign

                VectorUnit_i

                VectorUnit_j{linkID=1013}