Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Arithmetic-Complex/J/arithmetic-complex.j
Normal file
12
Task/Arithmetic-Complex/J/arithmetic-complex.j
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
x=: 1j1
|
||||
y=: 3.14159j1.2
|
||||
x+y NB. addition
|
||||
4.14159j2.2
|
||||
x*y NB. multiplication
|
||||
1.94159j4.34159
|
||||
%x NB. inversion
|
||||
0.5j_0.5
|
||||
-x NB. negation
|
||||
_1j_1
|
||||
+x NB. (complex) conjugation
|
||||
1j_1
|
||||
Loading…
Add table
Add a link
Reference in a new issue