Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,5 @@
|
|||
> (sqrt -1)
|
||||
#C(0.0 1.0)
|
||||
|
||||
> (expt #c(0 1) 2)
|
||||
-1
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
> (+ #c(0 1) #c(1 0))
|
||||
#C(1 1)
|
||||
|
||||
> (* #c(1 1) 2)
|
||||
#C(2 2)
|
||||
|
||||
> (* #c(1 1) #c(0 2))
|
||||
#C(-2 2)
|
||||
|
||||
> (- #c(1 1))
|
||||
#C(-1 -1)
|
||||
|
||||
> (/ #c(0 2))
|
||||
#C(0 -1/2)
|
||||
|
||||
> (conjugate #c(1 1))
|
||||
#C(1 -1)
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
> (complex 64 (/ 3 4))
|
||||
#C(64 3/4)
|
||||
|
||||
> (realpart #c(5 5))
|
||||
5
|
||||
|
||||
> (imagpart (complex 0 pi))
|
||||
3.141592653589793d0
|
||||
Loading…
Add table
Add a link
Reference in a new issue