This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch complex-gsoc-2022 in repository https://gitbox.apache.org/repos/asf/commons-numbers.git
commit 5939b5eabe4ddfc18b302dac51d0c1106284cdb5 Author: aherbert <[email protected]> AuthorDate: Wed Jul 20 11:38:33 2022 +0100 Remove redundant method --- .../org/apache/commons/numbers/complex/ComplexNumber.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexNumber.java b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexNumber.java index 4e90c89d..42ba9268 100644 --- a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexNumber.java +++ b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexNumber.java @@ -42,18 +42,6 @@ class ComplexNumber { this.imaginary = imaginary; } - /** - * Creates a conjugated complex number given the real and imaginary parts, - * that is for the argument (a + ib), returns (a - ib). - * - * @param real Real part \( a \) of the complex number \( (a +ib \). - * @param imaginary Imaginary part \( b \) of the complex number \( (a +ib \). - * @return conjugated complex number. - */ - public static ComplexNumber conj(double real, double imaginary) { - return new ComplexNumber(real, -imaginary); - } - /** * Gets the real part \( a \) of complex number \( (a + i b) \). *
