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

Method minus

__test__/theorem.js:1994–2001  ·  view source on GitHub ↗
(complex)

Source from the content-addressed store, hash-verified

1992 return this
1993 }
1994 minus(complex) {
1995 if (!complex.isComplex) {
1996 throw "[TheoremJS]: Complex operation require complex numbers"
1997 }
1998 this.a = this.a.minus(complex.a)
1999 this.b = this.b.minus(complex.b)
2000 return this
2001 }
2002 negated() {
2003 this.a = this.a.negated()
2004 this.b = this.b.negated()

Callers 15

temperature.jsFile · 0.80
findRoots.jsFile · 0.80
slope.jsFile · 0.80
pow.jsFile · 0.80
log.jsFile · 0.80
times.jsFile · 0.80
div.jsFile · 0.80
minus.jsFile · 0.80
median.jsFile · 0.80
arctanFunction · 0.80
pi.jsFile · 0.80
ln.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected