Contents - Index


VectorZeros

 

The VectorZeros function takes no parameters.  It returns the a vector of zeros, e.g., (0,0,0) for 3D vectors or (0,0) for 2D vectors.  The vector to which the unit vector is assigned must have previously been defined with the $Vector or $Vector2D directive. 

 

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

 

Example: 

$Vector X 

X=VectorZeros

 

{Solution:

X = (0, 0, 0) 

}

 

See also:  VectorAssign

                VectorUnit_i

                VectorUnit_j

                VectorUnit_k