Skip to content

Extend forder support to 'complex' type. #1703

Closed

Description

@arunsrinivasan
No description provided.

Activity

  1. MichaelChirico commented on May 13, 2016

    @MichaelChirico
    Member

    How do you sort a two-dimensional object? By modulus? Lexicographic?

  2. arunsrinivasan commented on May 19, 2016

    @arunsrinivasan
    MemberAuthor

    Same way base R does it. From ?order:

    Complex values are sorted first by the real part, then the imaginary part.

  3. MichaelChirico commented on May 19, 2016

    @MichaelChirico
    Member

    strange to me to say 0 + 300000000000i < 1 + i, but as long as it's base-consistent.

  4. added a commit that references this issue on Jul 12, 2019
    55bd501
  5. added this to the 1.12.4 milestone on Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions