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

Generalization of "natural" in "MathArrays"

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: