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

Generalization of "natural" in "MathArrays"

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: