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

Method getReal

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

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

()

Source from the content-addressed store, hash-verified

53 * @return The real part of the complex number.
54 */
55 public double getReal() {
56 return real;
57 }
58
59 /**
60 * Returns the imaginary part of the complex number.

Callers 10

getRealtestMethod · 0.95
addTestMethod · 0.80
addFalseTestMethod · 0.80
subtractTestMethod · 0.80
conjugateTestMethod · 0.80
divideWithComplexTestMethod · 0.80
divideWithScalarTestMethod · 0.80
fftMethod · 0.80

Calls

no outgoing calls

Tested by 10

getRealtestMethod · 0.76
addTestMethod · 0.64
addFalseTestMethod · 0.64
subtractTestMethod · 0.64
conjugateTestMethod · 0.64
divideWithComplexTestMethod · 0.64
divideWithScalarTestMethod · 0.64
fftMethod · 0.64