<?xml version="1.0" encoding="UTF-8"?>

<!--
 *
 * This help file was generated from distfun_streamset.sci using help_from_sci().
 *
 -->

<refentry version="5.0-subset Scilab" xml:id="distfun_streamset" xml:lang="en"
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:svg="http://www.w3.org/2000/svg"
          xmlns:ns3="http://www.w3.org/1999/xhtml"
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
          xmlns:scilab="http://www.scilab.org"
          xmlns:db="http://docbook.org/ns/docbook">

  <refnamediv>
    <refname>distfun_streamset</refname>
    <refpurpose>Set the current stream</refpurpose>
  </refnamediv>


<refsynopsisdiv>
   <title>Calling Sequence</title>
   <synopsis>
   distfun_streamset ( g )
   
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Parameters</title>
   <variablelist>
   <varlistentry><term>g:</term>
      <listitem><para> a 1-by-1 matrix of doubles, integer value, the current stream</para></listitem></varlistentry>
   </variablelist>
</refsection>

<refsection>
   <title>Description</title>
   <para>
Sets the current stream g.
The input argument g must be in the set 0,1,2,...,100.
   </para>
   <para>
</para>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
distfun_genset ( "clcg4" );
g = distfun_streamget ( )
distfun_streamset ( 1 )
g = distfun_streamget ( )
// Return to the default generator
distfun_genset ( "mt" );

   ]]></programlisting>
</refsection>

<refsection>
   <title>Authors</title>
   <simplelist type="vert">
   <member>Copyright (C) 2012 - Michael Baudin</member>
   <member>Copyright (C) Bruno Pincon</member>
   </simplelist>
</refsection>
</refentry>
