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

Method mutableDivide

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

Alters this complex number as if a division by another complex number was performed. @param c the real part of the other number @param d the imaginary part of the other number

(double c, double d)

Source from the content-addressed store, hash-verified

247 * @param d the imaginary part of the other number
248 */
249 public void mutableDivide(double c, double d)
250 {
251 final double[] r = new double[2];
252 cDiv(real, imag, c, d, r);
253 this.real = r[0];
254 this.imag = r[1];
255 }
256
257 /**
258 * Alters this complex number to contain the result of the division by another

Callers 2

divideMethod · 0.95
softmaxMethod · 0.45

Calls 1

cDivMethod · 0.95

Tested by

no test coverage detected