Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-1180

Generalization of "natural" in "MathArrays"

Rank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.4
    • None
    • None

    Description

      I propose to add a method

      public static void natural(int n, int offset);
      

      in MathArrays.

      For example, with

      int[] v = MathArrays.natural(3, 6);
      

      "v" would be { 6, 7, 8 }.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            erans Gilles Sadowski
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment