Handbook
Glossary
conjugate ( z -- z* )
Factor handbook
»
The language
»
Numbers
»
Mathematical functions
»
Arithmetic functions
Prev:
recip ( x -- y )
Next:
zero? ( x -- ? )
Vocabulary
math
.
functions
Inputs
z
a
number
Outputs
z*
a
number
Word description
Computes the complex conjugate by flipping the sign of the imaginary part of
z
.
Definition
USING:
math
;
IN:
math.functions
:
conjugate
( z -- z* )
>rect
neg
rect>
;
inline