vector_arithmetic
File Purpose: arithmetic for vectors or components.
[EFF] the idea for efficiency in vector methods
Functions
|
return angle between +xhat and A, in the xy plane, in radians. |
return unit vector u, given angle [radians] between +xhat and u in the xy plane. |
|
|
return x component of A cross B, given A and B which have values for y and z 'component'. |
|
return cross product of vectors A and B, along dimension 'component'. |
|
return dot product of vectors A and B, assuming vector components in the 'component' dimension. |
|
return the component of A parallel to B. |
|
return the magnitude of the component of A parallel to B. |
|
return the component of A perpendicular to B. |
|
return magnitude of the component of A perpendicular to B. |
|
return the component of A parallel to B. |
|
return the component of A perpendicular to B. |
Classes
arithmetic for vectors or components. |