[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33682] rand results are not repeatable
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #33682] rand results are not repeatable |
Date: |
Thu, 30 Jun 2011 20:06:28 +0000 |
User-agent: |
Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.8.131 Version/11.11 |
URL:
<http://savannah.gnu.org/bugs/?33682>
Summary: rand results are not repeatable
Project: GNU Octave
Submitted by: None
Submitted on: Thu 30 Jun 2011 08:06:27 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: avigoz
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.3
Operating System: GNU/Linux
_______________________________________________________
Details:
It is necessary that rand will begin with the same number every time octave is
opened, since the user has to be able to repeat his run with the same result
every time (this is specifically critical for monte carlo simulations). this
is the default in matlab, and can only be achieved by seeding the algo in
octave. for example:
disp(rand(1,10))
should return the same sequence every time octave is opened.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33682>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #33682] rand results are not repeatable,
anonymous <=