q+ ( u v -- u+v )


Vocabulary
math.quaternions

Inputs
ua quaternion
va quaternion


Outputs
u+va quaternion


Word description
Add quaternions.

Examples
USING: math.quaternions prettyprint ; { 0 1 0 0 } { 0 0 1 0 } q+ .
{ 0 1 1 0 }


Definition