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

Method plus

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

Source from the content-addressed store, hash-verified

2005 return this
2006 }
2007 plus(complex) {
2008 if (!complex.isComplex) {
2009 throw "[TheoremJS]: Complex operation require complex numbers"
2010 }
2011 this.a = this.a.plus(complex.a)
2012 this.b = this.b.plus(complex.b)
2013 return this
2014 }
2015 pow(complex) {
2016 /* I couldn't find a good formula, so here is a derivation and optimization
2017 *

Callers 15

temperature.jsFile · 0.80
graph.jsFile · 0.80
numeralSolve.jsFile · 0.80
pow.jsFile · 0.80
log.jsFile · 0.80
times.jsFile · 0.80
ln.jsFile · 0.80
div.jsFile · 0.80
plus.jsFile · 0.80
abs.jsFile · 0.80
e.jsFile · 0.80
arctanFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected