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)