[ 
https://issues.apache.org/jira/browse/NUMBERS-188?focusedWorklogId=791582&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-791582
 ]

ASF GitHub Bot logged work on NUMBERS-188:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Jul/22 21:44
            Start Date: 15/Jul/22 21:44
    Worklog Time Spent: 10m 
      Work Description: sumanth-rajkumar opened a new pull request, #116:
URL: https://github.com/apache/commons-numbers/pull/116

   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 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
   
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 791582)
    Time Spent: 3h 10m  (was: 3h)

> Static Method Refactor and Functional Interfaces
> ------------------------------------------------
>
>                 Key: NUMBERS-188
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-188
>             Project: Commons Numbers
>          Issue Type: Sub-task
>            Reporter: Sumanth Sulur Rajkumar
>            Priority: Minor
>              Labels: gsoc2022
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> Refactored existing instance methods in Complex class as static functions in 
> ComplexFunctions class using functional interface signatures



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to