comparison liboctave/randmtzig.h @ 11586:12df7854fa7c

strip trailing whitespace from source files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:24:59 -0500
parents fd0a3ac60b0e
children 70d32160c90b
comparison
equal deleted inserted replaced
11585:1473d0cf86d2 11586:12df7854fa7c
18 along with Octave; see the file COPYING. If not, see 18 along with Octave; see the file COPYING. If not, see
19 <http://www.gnu.org/licenses/>. 19 <http://www.gnu.org/licenses/>.
20 20
21 */ 21 */
22 22
23 /* 23 /*
24 A C-program for MT19937, with initialization improved 2002/2/10. 24 A C-program for MT19937, with initialization improved 2002/2/10.
25 Coded by Takuji Nishimura and Makoto Matsumoto. 25 Coded by Takuji Nishimura and Makoto Matsumoto.
26 This is a faster version by taking Shawn Cokus's optimization, 26 This is a faster version by taking Shawn Cokus's optimization,
27 Matthe Bellew's simplification, Isaku Wada's real version. 27 Matthe Bellew's simplification, Isaku Wada's real version.
28 David Bateman added normal and exponential distributions following 28 David Bateman added normal and exponential distributions following
33 All rights reserved. 33 All rights reserved.
34 34
35 Redistribution and use in source and binary forms, with or without 35 Redistribution and use in source and binary forms, with or without
36 modification, are permitted provided that the following conditions 36 modification, are permitted provided that the following conditions
37 are met: 37 are met:
38 38
39 1. Redistributions of source code must retain the above copyright 39 1. Redistributions of source code must retain the above copyright
40 notice, this list of conditions and the following disclaimer. 40 notice, this list of conditions and the following disclaimer.
41 41
42 2. Redistributions in binary form must reproduce the above copyright 42 2. Redistributions in binary form must reproduce the above copyright
43 notice, this list of conditions and the following disclaimer in the 43 notice, this list of conditions and the following disclaimer in the
44 documentation and/or other materials provided with the distribution. 44 documentation and/or other materials provided with the distribution.
45 45
46 3. The names of its contributors may not be used to endorse or promote 46 3. The names of its contributors may not be used to endorse or promote
47 products derived from this software without specific prior written 47 products derived from this software without specific prior written
48 permission. 48 permission.
49 49
50 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 50 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
51 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 51 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
52 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 52 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
53 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 53 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
54 OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 54 OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
55 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 55 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
56 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 56 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
57 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 57 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
58 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 58 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING