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

Example

plist()

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 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args 1
Min output args 1
Max output args -1
Can be used as modifier 1
Supported numeric types {'double'}




©LTP Team