You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2011/03/23 21:11:05 UTC

[jira] [Closed] (MATH-379) Multidimensional counter

     [ https://issues.apache.org/jira/browse/MATH-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Maisonobe closed MATH-379.
------------------------------


Closing issue as it was included in version 2.2, which has been released

> Multidimensional counter
> ------------------------
>
>                 Key: MATH-379
>                 URL: https://issues.apache.org/jira/browse/MATH-379
>             Project: Commons Math
>          Issue Type: New Feature
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: MultidimensionalCounter.java
>
>
> Utility that converts from indices in a multidimensional structure to the corresponding index in a one-dimensional array.
> E.g. assuming that the ranges (in 3D) of indices are {2, 4, 3}, we'll have that
>   (0, 0, 0) corresponds to 0
>   (0, 0, 1) corresponds to 1
>     ...
>   (1, 0, 0) corresponds to 12
>     ...
>   (1, 3, 2) corresponds to 23
> I propose to add this class in the "util" package.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira