Re: [eigen] Set random number seed? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Set random number seed?
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Tue, 13 Jul 2010 14:41:52 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=yYdmgVbkGxoO3Vwvf+4R9zJjKeTIjlD4NXoX14RVzO8=; b=xuAI9iIG5z0c1EhHqD+8UnNhWVJqNWKBbCKNNCLkHVHEgvqNBf32ONZQQ2VRDpwa1H BnNLWnF5hNEMS6ZU5+X5XEnuSjglpTK7EQi4vIF8rGLXEgxK68XGmOggr65moACgh9a0 +mixByBlP7yxFKUV0zHk/yimqDTFPwKRwFvnE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=aXVnVA+0dA+3UQktgdXlIpPB2cAuJp/9r92vpZFp8jThuTAehLM5Przu1nS3GPqSx5 h3OgUMT/xghPXcPchyHz5tHyDH6lL/1mOYcl6qI+9jbTG1LUicp3ifzaaNOfrr3VRIau zYZ8EGVgWg1SAAqLXupvBeimDXz0BrmY9ioV8=
It calls rand() from the standard library. You can set the seed by
calling srand().
Benoit
2010/7/13 Manoj Rajagopalan <rmanoj@xxxxxxxxx>:
> Hi,
>
> Is it possible to re-seed the random number generator that Eigen uses?
> Which function does Eigen ultimately call to generate random numbers?
>
> thanks,
> Manoj
>
>
>