MCPcopy Index your code
hub / github.com/josdejong/mathjs / complex_numbers.js

File complex_numbers.js

examples/complex_numbers.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// complex numbers
2import { complex, add, multiply, sin, sqrt, pi, equal, sort, format } from '../lib/esm/index.js'
3
4// create a complex number with a numeric real and complex part

Callers

nothing calls this directly

Calls 8

addFunction · 0.90
multiplyFunction · 0.90
formatFunction · 0.90
printFunction · 0.70
logMethod · 0.65
cloneMethod · 0.65
absMethod · 0.65
argMethod · 0.65

Tested by

no test coverage detected