Merge pull request #41 from chocolateboy/fix-complex-number-typo

fix complex-number typo
This commit is contained in:
Matt DesLauriers
2019-06-26 20:40:03 +01:00
committed by GitHub

View File

@@ -155,7 +155,7 @@ var a = math.complex(3, -1)
//=> { re: 3, im: -1 }
var b = math.sqrt(-1)
//=> { re: 0, im: -1 }
//=> { re: 0, im: 1 }
console.log(math.multiply(a, b).toString())
//=> '1 + 3i'