MCPcopy Create free account
hub / github.com/TheAlgorithms/Java / getImaginary

Method getImaginary

src/main/java/com/thealgorithms/maths/FFT.java:64–66  ·  view source on GitHub ↗

Returns the imaginary part of the complex number. @return The imaginary part of the complex number.

()

Source from the content-addressed store, hash-verified

62 * @return The imaginary part of the complex number.
63 */
64 public double getImaginary() {
65 return img;
66 }
67
68 /**
69 * Adds this complex number to another.

Callers 7

getImaginaryTestMethod · 0.95
conjugateTestMethod · 0.80
divideWithComplexTestMethod · 0.80
divideWithScalarTestMethod · 0.80
fftMethod · 0.80

Calls

no outgoing calls

Tested by 7

getImaginaryTestMethod · 0.76
conjugateTestMethod · 0.64
divideWithComplexTestMethod · 0.64
divideWithScalarTestMethod · 0.64
fftMethod · 0.64