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 along the dimension 'component'. |
|
return vector magnitude of A, assuming vector components along the dimension 'component'. |
|
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 the magnitude of the component of A perpendicular to B. |
|
return root mean squared of components of A. |
|
return the component of A parallel to B. |
|
return the component of A perpendicular to B. |
|
return a unit vector in the direction of A. |
Classes
arithmetic for vectors or components. |