You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Eric Barnhill (JIRA)" <ji...@apache.org> on 2018/03/01 13:21:00 UTC

[jira] [Commented] (NUMBERS-64) Method "norm()"

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

Eric Barnhill commented on NUMBERS-64:
--------------------------------------

Good catch. This is not what I think of as the norm. Further the link provided above the call to norm() does not link to a method called norm(). It links to a method called cproj(). I vote for removal.

> Method "norm()"
> ---------------
>
>                 Key: NUMBERS-64
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-64
>             Project: Commons Numbers
>          Issue Type: Task
>          Components: complex
>            Reporter: Gilles
>            Priority: Minor
>              Labels: API
>             Fix For: 1.0
>
>
> Method is trivial, not used within the class, and [not standard|https://math.stackexchange.com/questions/285398/what-is-the-norm-of-a-complex-number].
> Should we perhaps remove it?
> However, if keeping it to mimic the C++ standard library, the computation should be implemented directly; currently, it calls method {{abs()}} which entails many unnecessary checks and operations.
> Javadoc links to an unrelated page.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)