sumanth-rajkumar opened a new pull request, #117:
URL: https://github.com/apache/commons-numbers/pull/117
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
ComplexUnaryOperator - unary operations on complex number represented as
double real and imaginary parts
ComplexConstructor - interface to create a generic complex result from
double real and imaginary parts
2) As a first step, refactored log and log10 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]