MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / add

Method add

JSAT/src/jsat/math/Complex.java:98–103  ·  view source on GitHub ↗

Creates a new complex number containing the resulting addition of this and another @param c the number to add @return this +c

(Complex c)

Source from the content-addressed store, hash-verified

96 * @return <tt>this</tt>+c
97 */
98 public Complex add(Complex c)
99 {
100 Complex ret = new Complex(real, imag);
101 ret.mutableAdd(c);
102 return ret;
103 }
104
105 /**
106 * Alters this complex number as if a subtraction of another complex number was performed.

Callers 4

optimizeMethod · 0.45
optimizeMethod · 0.45
insertIntoSimplexMethod · 0.45
optimizeMethod · 0.45

Calls 1

mutableAddMethod · 0.95

Tested by

no test coverage detected