Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 17409 invoked from network); 23 Mar 2011 20:11:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2011 20:11:43 -0000 Received: (qmail 63381 invoked by uid 500); 23 Mar 2011 20:11:43 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 63320 invoked by uid 500); 23 Mar 2011 20:11:43 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 63312 invoked by uid 99); 23 Mar 2011 20:11:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2011 20:11:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2011 20:11:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D0C644ABAA for ; Wed, 23 Mar 2011 20:11:05 +0000 (UTC) Date: Wed, 23 Mar 2011 20:11:05 +0000 (UTC) From: "Luc Maisonobe (JIRA)" To: issues@commons.apache.org Message-ID: <112730963.7018.1300911065851.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (MATH-379) Multidimensional counter MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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