MCPcopy Create free account
hub / github.com/arguiot/TheoremJS / arg

Method arg

__test__/theorem.js:1879–1881  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1877 return new BigNumber(this.a).times(this.a).plus(this.b.times(this.b)).sqrt() // sqrt(a^2 + b^2)
1878 }
1879 arg() {
1880 return new BigNumber(this.t.atan2(this.b, this.a))
1881 }
1882 clone() {
1883 return Object.assign( Object.create( Object.getPrototypeOf(this)), this)
1884 }

Callers 5

lnMethod · 0.95
logMethod · 0.95
log.jsFile · 0.80
ln.jsFile · 0.80
test.jsFile · 0.80

Calls 1

atan2Method · 0.80

Tested by

no test coverage detected