Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBED39DCE for ; Sat, 29 Oct 2011 16:36:32 +0000 (UTC) Received: (qmail 39133 invoked by uid 500); 29 Oct 2011 16:36:32 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 39029 invoked by uid 500); 29 Oct 2011 16:36:32 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 39021 invoked by uid 99); 29 Oct 2011 16:36:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2011 16:36:32 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of phil.steitz@gmail.com designates 209.85.210.41 as permitted sender) Received: from [209.85.210.41] (HELO mail-pz0-f41.google.com) (209.85.210.41) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2011 16:36:25 +0000 Received: by pzk6 with SMTP id 6so12709872pzk.0 for ; Sat, 29 Oct 2011 09:36:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Rg+h2aFHgkG8PzK0vVdrd7Yn9N4otqD+3NzEGqRA84E=; b=fQovypamM+eIj3vt5jrgFbxYI9xgOhh05wiIOkZtJNS1/78X57CvTySa7+04LXSsEF 0sMsA8ervC8EShsRaS4QWoFVohlySWSETzefcrrDRzDnCIk3RejAfNuMTSphWdwEu9IS Dl/PIDAW/a0eczPdHfJXMk+hQYsg6fNg45bHc= Received: by 10.68.31.170 with SMTP id b10mr11659967pbi.18.1319906165329; Sat, 29 Oct 2011 09:36:05 -0700 (PDT) Received: from [192.168.0.2] (71-223-64-240.phnx.qwest.net. [71.223.64.240]) by mx.google.com with ESMTPS id le18sm33994188pbb.3.2011.10.29.09.35.59 (version=SSLv3 cipher=OTHER); Sat, 29 Oct 2011 09:36:03 -0700 (PDT) Message-ID: <4EAC2B6D.9090709@gmail.com> Date: Sat, 29 Oct 2011 09:35:57 -0700 From: Phil Steitz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Commons Developers List Subject: Re: [math] Distributions over sample spaces other than R References: <4EA483FA.9010803@gmail.com> <4EA4C44C.7010606@gmail.com> <1319575141452-3938185.post@n4.nabble.com> <1319904439697-3951113.post@n4.nabble.com> In-Reply-To: <1319904439697-3951113.post@n4.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 10/29/11 9:07 AM, cwinter wrote: > cwinter wrote: >> [...] Regarding IntergerDistribution I don't have a preference on leaving >> it in the current hierarchy or making it to a new root. >> >> Christian >> > Just now, while pulling inverseCumulativeProbability form > ContinuousDistribution up to Distribution, I got a conflict with > IntegerDistribution: IntegerDistribution.inverseCumulativeProbability wants > to return int which doesn't fit to the return type double of > Distribution.inverseCumulativeProbability. > Either the return type has to be changed to double for all integer > distributions - which is quite annoying - or we need to pull > IntegerDistribution out of the hierachy - which is my favorite now. For the > case that there is a requirement for embedding the domain into the reals, we > could implement the procedure IntegerDistribution.toDiscreteDistribution() > returning the appropriate DiscreteDistribution. I would say pull DiscreteDistribution out. That is where the difference really lies. I have thought about suggesting that we eliminate it altogether; but I still think there may be value in supporting discrete distributions over sample spaces that are not embedded in the integers. Phil > > Best Regards, > Christian > > > -- > View this message in context: http://apache-commons.680414.n4.nabble.com/math-Distributions-over-sample-spaces-other-than-R-tp3931349p3951113.html > Sent from the Commons - Dev mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org