吉里吉里2 Ver2.32r2に付属のドキュメント追加
This commit is contained in:
101
docs/tjs2doc/contents/randomgenerator.html
Normal file
101
docs/tjs2doc/contents/randomgenerator.html
Normal file
@@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="Shift_JIS"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
|
||||
<!-- generated by to_html.pl from randomgenerator.xml -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
|
||||
<title>Math.RandomGenerator �N���X</title>
|
||||
<meta name="author" content="W.Dee" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
<link href="browser.css" type="text/css" rel="stylesheet" title="�g���g���֘A���t�@�����X�p�W���X�^�C��" />
|
||||
<link href="mailto:[email protected]" rev="Made" />
|
||||
<link href="index.html" target="_top" rel="Start" title="�g�b�v�y�[�W" />
|
||||
</head>
|
||||
<body>
|
||||
<h1><a id="id290" name="id290">Math.RandomGenerator �N���X</a>
|
||||
</h1><div class="para"><div>
|
||||
�@Math.RandomGenerator �́A<a target="_blank" class="jump" href="http://www.math.keio.ac.jp/~matumoto/emt.html">Mersenne Twister �@</a> �ɂ��闐�������邽�߂̃N���X�ł��B<br />
|
||||
<br />
|
||||
�@�R���X�g���N�^�̍\���͈ȉ��̒ʂ��ł��B
|
||||
<br />
|
||||
<code class="bq">new Math.RandomGenerator([<������>]);<br />
|
||||
</code>
|
||||
<br />
|
||||
|
||||
<br />
|
||||
�@�R���X�g���N�^�ɐ��l���w�肷���ƁA���̐��l�ŗ��������킪�����������܂��B<br />
|
||||
�@�R���X�g���N�^�� serialize ���\�b�h�ŏ��Ԃ��ۑ����������z���I�u�W�F�N�g���w�肷���ƁA���̏��Ԃŗ������������쐬�ł��܂��B<br />
|
||||
�@�R���X�g���N�^���ȗ������ƁA���ݎ��������ɂ��������l�ŗ��������킪�����������܂� (�g���g��2�̏ꍇ�͌��ݎ����ł͂Ȃ��A���m�C�Y�����ɂ������������킩���̗����ŏ����������܂�)�B<br />
|
||||
</div></div>
|
||||
<h1><a id="id291" name="id291">randomize</a>
|
||||
</h1><div class="para"><div>
|
||||
�@randomize ���\�b�h�́A���������������������܂��B�����̓R���X�g���N�^�Ɏw�肷�镨�Ɠ����ł��B<br />
|
||||
</div></div>
|
||||
<h1><a id="id292" name="id292">random</a>
|
||||
</h1><div class="para"><div>
|
||||
�@random ���\�b�h�́A0�ȏ�1.0�����̎����̗����l���Ԃ��܂��B<br />
|
||||
</div></div>
|
||||
<h1><a id="id293" name="id293">random32</a>
|
||||
</h1><div class="para"><div>
|
||||
�@random32 ���\�b�h�́A0�ȏ�4,294,967,295�ȉ� (0xffffffff �ȉ�) �̐����̗����l���Ԃ��܂��B<br />
|
||||
</div></div>
|
||||
<h1><a id="id294" name="id294">random63</a>
|
||||
</h1><div class="para"><div>
|
||||
�@random63 ���\�b�h�́A0�ȏ�9,223,372,036,854,775,807�ȉ�(0x7fffffffffffffff �ȉ�) �̐����̗����l���Ԃ��܂��B<br />
|
||||
</div></div>
|
||||
|
||||
<h1><a id="id295" name="id295">random64</a>
|
||||
</h1><div class="para"><div>
|
||||
�@random64 ���\�b�h�́A-9,223,372,036,854,775,808�ȏ�9,223,372,036,854,775,807�ȉ��̐����̗����l���Ԃ��܂��B<br />
|
||||
</div></div>
|
||||
<h1><a id="id296" name="id296">serialize</a>
|
||||
</h1><div class="para"><div>
|
||||
�@serialize ���\�b�h�́A���݂̏��Ԃ��L�^���������z���I�u�W�F�N�g���Ԃ��܂��B���̎����z���I�u�W�F�N�g�́A�R���X�g���N�^�� randomize ���\�b�h�ɓn�����ƂŁA�Ăь��݂̏��Ԃ��Č��ł��镨�ł��B<br />
|
||||
</div></div>
|
||||
<h1><a id="id297" name="id297">Copyright notice</a>
|
||||
</h1><div class="para"><div>
|
||||
�@Mersenne Twister�@�̎����ɂ�<br />
|
||||
<br />
|
||||
A C-program for MT19937, with initialization improved 2002/2/10.
|
||||
Coded by Takuji Nishimura and Makoto Matsumoto.<br />
|
||||
<br />
|
||||
�@�����ς��������p���Ă��܂��B�L�p�ȃv���O�����\�[�X�����J�Ȃ����Ă��闼���Ɋ��ӂ��܂��B<br />
|
||||
<br />
|
||||
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura,<br />
|
||||
All rights reserved.<br />
|
||||
<br />
|
||||
Redistribution and use in source and binary forms, with or without<br />
|
||||
modification, are permitted provided that the following conditions<br />
|
||||
are met:<br />
|
||||
<br />
|
||||
1. Redistributions of source code must retain the above copyright<br />
|
||||
notice, this list of conditions and the following disclaimer.<br />
|
||||
<br />
|
||||
2. Redistributions in binary form must reproduce the above copyright<br />
|
||||
notice, this list of conditions and the following disclaimer in the<br />
|
||||
documentation and/or other materials provided with the distribution.<br />
|
||||
<br />
|
||||
3. The names of its contributors may not be used to endorse or promote <br />
|
||||
products derived from this software without specific prior written <br />
|
||||
permission.<br />
|
||||
<br />
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS<br />
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT<br />
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR<br />
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR<br />
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,<br />
|
||||
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,<br />
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR<br />
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF<br />
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING<br />
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS<br />
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<br />
|
||||
<br />
|
||||
</div></div>
|
||||
|
||||
<script type="text/javascript" charset="Shift_JIS" src="documentid.js" ></script>
|
||||
<script type="text/javascript" charset="Shift_JIS" src="postcontent.js" ></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user