[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #29545] empiricalcdf eats up too much memory +
From: |
David Bateman |
Subject: |
[Octave-bug-tracker] [bug #29545] empiricalcdf eats up too much memory + alternative solution |
Date: |
Wed, 14 Apr 2010 00:26:18 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1) |
Update of bug #29545 (project octave):
Status: None => Fixed
_______________________________________________________
Follow-up Comment #1:
This is probably not the way to handle this. Its probably better to use the
lookup function, with indexing cumsum(p), directly in the discrete_cdf
function and accelerate both discrete_cdf and empirical_cdf. This will also
treat correctly the NaN values in the return vector.
Proposed patch attached that I pushed to savannah
D.
(file #20217)
_______________________________________________________
Additional Item Attachment:
File name: patch.discrete_cdf Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29545>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/