octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #39378] Possible bug in randperm


From: Marco Caliari
Subject: [Octave-bug-tracker] [bug #39378] Possible bug in randperm
Date: Mon, 01 Jul 2013 07:28:52 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0

URL:
  <http://savannah.gnu.org/bugs/?39378>

                 Summary: Possible bug in randperm
                 Project: GNU Octave
            Submitted by: caliari
            Submitted on: Mon 01 Jul 2013 07:28:51 AM GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Dear all,

the following


N=30000^2;,M=100000;,randperm(N,M);


gives me the "memory exhausted or requested size too large for range of
Octave's index type" error. I think it should work since:

1) N < intmax
2) M < N/5 and so O(M) memory should be used (according to help)
3) Matlab works with such an example

Best regards,

Marco




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39378>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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