commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-1180) Generalization of "natural" in "MathArrays"
Date Mon, 15 Dec 2014 00:09:13 GMT
Gilles created MATH-1180:
----------------------------

             Summary: Generalization of "natural" in "MathArrays"
                 Key: MATH-1180
                 URL: https://issues.apache.org/jira/browse/MATH-1180
             Project: Commons Math
          Issue Type: New Feature
            Reporter: Gilles
            Assignee: Gilles
            Priority: Trivial
             Fix For: 3.4


I propose to add a method
{code}
public static void natural(int n, int offset);
{code}
in {{MathArrays}}.

For example, with
{code}
int[] v = MathArrays.natural(3, 6);
{code}
"v" would be \{ 6, 7, 8 \}.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message