aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/documentation/lux/math/number/complex.lux
blob: b4799283277aed3bea200f4283d663da4a28bf0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
(.require
 [library
  [lux (.except private)
   ["$" documentation]
   [data
    ["[0]" text (.only \n)
     ["%" \\format (.only format)]]]]]
 [\\library
  ["[0]" /]])

(.def .public documentation
  (.List $.Module)
  ($.module /._
            "Complex arithmetic."
            [($.definition /.i)
             ($.definition /.+one)
             ($.definition /.-one)
             ($.definition /.zero)
             ($.definition /.not_a_number?)
             ($.definition /.=)
             ($.definition /.+)
             ($.definition /.-)
             ($.definition /.equivalence)
             ($.definition /.opposite)
             ($.definition /.signum)
             ($.definition /.conjugate)
             ($.definition /.*')
             ($.definition /.*)
             ($.definition /./)
             ($.definition /./')
             ($.definition /.%)
             ($.definition /.cos)
             ($.definition /.cosh)
             ($.definition /.sin)
             ($.definition /.sinh)
             ($.definition /.tan)
             ($.definition /.tanh)
             ($.definition /.abs)
             ($.definition /.exp)
             ($.definition /.log)
             ($.definition /.pow)
             ($.definition /.pow')
             ($.definition /.root_2)
             ($.definition /.reciprocal)
             ($.definition /.acos)
             ($.definition /.asin)
             ($.definition /.atan)
             ($.definition /.argument)
             ($.definition /.roots)
             ($.definition /.approximately?)

             ($.definition /.Complex
               "A complex number.")

             ($.definition /.complex
               "Complex literals."
               [(complex real imaginary)]
               ["The imaginary part can be omitted if it's +0.0."
                (complex real)])]
            []))