This language bar is your friend. Select your favorite languages!

Idiom #77 Complex number

Declare a complex x and initialize it with value (3i - 2). Then multiply it by i.

Illustration
#Edit dateEdit SummaryEditor
👁 Δ 23 2018-05-15, 17:40 [Haskell] Clarified on immutability hrschueler
👁 Δ 22 2018-05-15, 17:38 [Haskell] Missing documentation. hrschueler
👁 Δ 21 2018-05-15, 17:36 New Haskell implementation by user [hrschueler] hrschueler
👁 Δ 20 2018-05-08, 01:57 New Cpp implementation by user [fantasy] fantasy
👁 Δ 19 2018-04-09, 15:19 New Rust implementation by user [Fierthraix] Fierthraix
👁 Δ 18 2016-12-04, 22:22 New Java implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 17 2016-10-02, 16:00 Updated picture URL by user []
👁 Δ 16 2016-02-18, 16:58 New JS implementation by user [Patman64]
👁 Δ 15 2016-02-16, 20:21 New JS implementation by user [Patman64]
👁 Δ 14 2016-01-21, 09:18 [Pascal] imports: not in code.
👁 Δ 13 2016-01-15, 15:23 New Pascal implementation by user [Bart]
👁 Δ 12 2015-11-30, 12:37
👁 Δ 11 2015-10-31, 15:24
👁 Δ 10 2015-10-29, 14:05
👁 Δ 9 2015-09-30, 11:48
👁 Δ 8 2015-09-30, 11:47
👁 Δ 7 2015-09-05, 16:57
👁 Δ 6 2015-09-03, 16:08
👁 Δ 5 2015-08-31, 11:55
👁 Δ 4 2015-08-24, 21:46
👁 Δ 3 2015-08-24, 16:10
👁 Δ 2 2015-08-24, 16:10
1 2015-08-24, 16:09