aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/gaussian.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/gaussian.spad.pamphlet')
-rw-r--r--src/algebra/gaussian.spad.pamphlet1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/algebra/gaussian.spad.pamphlet b/src/algebra/gaussian.spad.pamphlet
index fba0d687..a22dc1a0 100644
--- a/src/algebra/gaussian.spad.pamphlet
+++ b/src/algebra/gaussian.spad.pamphlet
@@ -28,6 +28,7 @@ ComplexCategory(R:CommutativeRing): Category ==
Join(MonogenicAlgebra(R, SparseUnivariatePolynomial R), FullyRetractableTo R,
DifferentialExtension R, FullyEvalableOver R, FullyPatternMatchable(R),
Patternable(R), FullyLinearlyExplicitRingOver R, CommutativeRing) with
+ complex ++ indicates that % has sqrt(-1)
imaginary: () -> % ++ imaginary() = sqrt(-1) = %i.
conjugate: % -> % ++ conjugate(x + %i y) returns x - %i y.
complex : (R, R) -> % ++ complex(x,y) constructs x + %i*y.