sumanth-rajkumar opened a new pull request, #118:
URL: https://github.com/apache/commons-numbers/pull/118

   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
    ComplexSink - interface that acts as a consumer for the complex result from 
double real and imaginary parts
   
   2) Refactored all unary 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to