sumanth-rajkumar opened a new pull request, #120: URL: https://github.com/apache/commons-numbers/pull/120
This PR refactors Complex class using functional interfaces and static methods. This allows reuse of the refactored static functions for Operations on List/Matrices of Complex Numbers (NUMBERS-186) The changes retain binary backward compatibility. Summary of changes 1) Introduced following interfaces for Complex Number Operations ComplexScalarFunction - binary operations on a complex number represented as double real and imaginary parts and a double scalar operand 2) Refactored all complex-scalar binary operations instance methods of Complex class as static functions in ComplexFunctions The static functions use the functional interface signatures described above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org