Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 5263 invoked from network); 7 Mar 2011 17:52:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Mar 2011 17:52:23 -0000 Received: (qmail 26175 invoked by uid 500); 7 Mar 2011 17:52:23 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 26114 invoked by uid 500); 7 Mar 2011 17:52:23 -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 26105 invoked by uid 99); 7 Mar 2011 17:52:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Mar 2011 17:52:23 +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; Mon, 07 Mar 2011 17:52:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7983339B581 for ; Mon, 7 Mar 2011 17:51:59 +0000 (UTC) Date: Mon, 7 Mar 2011 17:51:59 +0000 (UTC) From: "Ole Ersoy (JIRA)" To: issues@commons.apache.org Message-ID: <838321787.1579.1299520319494.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <204543694.170.1299433405093.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (MATH-543) Enable Sampling from Integer Distributions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003466#comment-13003466 ] Ole Ersoy commented on MATH-543: -------------------------------- It looks like it's already implemented. I see both methods AbstractIntegerDistribution.sample() and AbstractIntegerDistribution.sample(int) in the trunk. > Enable Sampling from Integer Distributions > ------------------------------------------ > > Key: MATH-543 > URL: https://issues.apache.org/jira/browse/MATH-543 > Project: Commons Math > Issue Type: Improvement > Affects Versions: 2.2 > Reporter: Ole Ersoy > Fix For: 3.0 > > > Have AbstractIntegerDistribution implement sample() and sample(int) methods similar to those in AbstractContinuousDistribution > For background See https://issues.apache.org/jira/browse/MATH-540 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira