Method plist/getSetRandState


  GETSETRANDSTATE gets or sets the random state of the MATLAB functions 'rand' and 'randn'
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: GETSETRANDSTATE gets or sets the random state of the MATLAB
               functions 'rand' and 'randn'. This function looks in the
               input plist for the key-word 'rand_state' (LTPDA toolbox
               less than 2.1) or 'rand_stream' (LTPDA toolbox greate equal
               than 2.1) to set the random state. If these key words
               doesn't exist in the plist then stores this function the
               random state in the plist.
 
  CALL:        pl = getSetRandState(pl_in);
               pl = pl_in.getSetRandState();
               pl_in.getSetRandState();
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class plist
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
back to top back to top

Some information of the method plist/getSetRandState are listed below:
Class name plist
Method name getSetRandState
Category Internal
Package name ltpda
VCS Version 8ab8cbbc4bccf7543491a24448f4aae0b1be1c43
Min input args 1
Max input args 1
Min output args 1
Max output args -1




©LTP Team