Handbook
Glossary
q*n ( q n -- r )
Vocabulary
math
.
quaternions
Inputs
q
a quaternion
n
a
real
Outputs
r
a quaternion
Word description
Multiplies each element of
q
by real value
n
.
Notes
To multiply a quaternion with a complex value, use
c>q
q*
.
Definition
USING:
math.vectors
;
IN:
math.quaternions
:
q*n
( q n -- r )
v*n
;
inline