Handbook
Glossary
c>q ( c -- q )
Vocabulary
math
.
quaternions
Inputs
c
a
number
Outputs
q
a quaternion
Word description
Turn a complex number into a quaternion.
Examples
USING: math.quaternions prettyprint ; C{ 0 1 } c>q .
{ 0 1 0 0 }
Definition
USING:
arrays
math
;
IN:
math.quaternions
:
c>q
( c -- q )
>rect
0 0
4array
;
inline