[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #34352] sprand/sprandn density argument is not

From: Jordi Gutiérrez Hermoso
Subject: [Octave-bug-tracker] [bug #34352] sprand/sprandn density argument is not very accurate
Date: Thu, 22 Sep 2011 02:44:13 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110109 Moonfly/3.6.13

Follow-up Comment #2, bug #34352 (project octave):

I pushed a change to randperm to implement k-subsets:


With this change, the attached cset implements the precise sprand density you
speak of. It also speeds up most calls of sprand. I'm not pushing it, though,
because it breaks apparent (but not documented) Matlab compatibility.

(file #24005)

Additional Item Attachment:

File name: sprand.patch                   Size:1 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]