commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Nozik (Jira)" <j...@apache.org>
Subject [jira] [Commented] (MATH-1448) Make RealFieldElement implement Number
Date Sun, 27 Oct 2019 12:55:00 GMT

    [ https://issues.apache.org/jira/browse/MATH-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16960571#comment-16960571
] 

Alexander Nozik commented on MATH-1448:
---------------------------------------

Thanks, I've completely moved to Kotlin some time ago, so I use Commons math/numbers/rng only
as a back-end implementation. Now I develop a numeric library for kotlin which uses a lot
of design ideas from commons-math (they look much better in kotlin because of possibility
of context-oriented design). Sadly, it is not possible to back-port the most advanced design
solutions from kotlin in java. 

> Make RealFieldElement implement Number
> --------------------------------------
>
>                 Key: MATH-1448
>                 URL: https://issues.apache.org/jira/browse/MATH-1448
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Alexander Nozik
>            Priority: Trivial
>
> RealFieldElement in some cases could be used as a substitute for a generic `Number` and
it quite easy to make it implement `Number` interface. Perhaps it would be better to inherit
it form number to allow universal treatment.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message