<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Aptech &#187; Answers for "Rndseed or rndcon?"</title>
	<atom:link href="http://www.aptech.com/questions/rndseed-or-rndcon/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aptech.com</link>
	<description></description>
	<lastBuildDate>Fri, 08 Feb 2013 19:12:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>By: aptech</title>
		<link>http://www.aptech.com/questions/rndseed-or-rndcon/#answer-1824</link>
		<comments>http://www.aptech.com/questions/rndseed-or-rndcon/#answer-1824#comments</comments>
		<pubDate>Wed, 03 Oct 2012 13:43:40 +0000</pubDate>
		<dc:creator>aptech</dc:creator>
		
		<guid isPermaLink="false">http://www.aptech.com/questions/rndseed-or-rndcon/#answer-1824</guid>
		<description><![CDATA[In GAUSS 12 and newer versions rndn has an optional input of a state or seed, so your could change your program easily to this: seed = 34567; { xx, state } = rndn(50,1, seed); for i (1,100,1); yy = &#8230; <a href="http://www.aptech.com/questions/rndseed-or-rndcon/#answer-1824">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In GAUSS 12 and newer versions rndn has an optional input of a state or seed, so your could change your program easily to this:</p>
<pre style="padding-left: 30px;">seed = 34567;
{ xx, state } = rndn(50,1, seed);

for i (1,100,1);
   yy = rndn(50,1);
   j = 1; 
   do while j ≤ 1000;
      zz = rndn(50,1);
      j = j + 1; 
   endo;
endfor;</pre>
<p>In older versions of GAUSS you can use the rndLCn function instead of adding the seed input to rndn (which will still work in the current version as well) .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aptech.com/questions/rndseed-or-rndcon/#answer-1824/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.aptech.com @ 2013-02-09 01:45:11 --