Handbook
Glossary
q- ( u v -- u-v )
Vocabulary
math
.
quaternions
Inputs
u
a quaternion
v
a quaternion
Outputs
u-v
a quaternion
Word description
Subtract quaternions.
Examples
USING: math.quaternions prettyprint ; { 0 1 0 0 } { 0 0 1 0 } q- .
{ 0 1 -1 0 }
Definition
USING:
math.vectors
;
IN:
math.quaternions
:
q-
( u v -- u-v )
v-
;
inline