Changeset 2430 for trunk/sources/ALGLIB/ap.cs
- Timestamp:
- 10/15/09 13:22:07 (15 years ago)
- Location:
- trunk/sources/ALGLIB
- Files:
-
- 1 added
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/ALGLIB/ap.cs
r2426 r2430 1 /************************************************************************* 2 AP library 3 Copyright (c) 2003-2009 Sergey Bochkanov (ALGLIB project). 4 5 >>> LICENSE >>> 6 This program is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation (www.fsf.org); either version 2 of the 9 License, or (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 A copy of the GNU General Public License is available at 17 http://www.fsf.org/licensing/licenses 18 19 >>> END OF LICENSE >>> 20 *************************************************************************/ 1 21 namespace AP 2 22 { … … 91 111 public class Math 92 112 { 93 public static System.Random RndObject = new System.Random(System.DateTime.Now.Millisecond); 113 //public static System.Random RndObject = new System.Random(System.DateTime.Now.Millisecond); 114 public static System.Random RndObject = new System.Random(System.DateTime.Now.Millisecond + 1000*System.DateTime.Now.Second + 60*1000*System.DateTime.Now.Minute); 94 115 95 116 public const double MachineEpsilon = 5E-16;
Note: See TracChangeset
for help on using the changeset viewer.