Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/15/09 13:22:07 (15 years ago)
Author:
gkronber
Message:

Moved ALGLIB code into a separate plugin. #783

Location:
trunk/sources/ALGLIB
Files:
1 added
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/sources/ALGLIB/ap.cs

    r2426 r2430  
     1/*************************************************************************
     2AP library
     3Copyright (c) 2003-2009 Sergey Bochkanov (ALGLIB project).
     4
     5>>> LICENSE >>>
     6This program is free software; you can redistribute it and/or modify
     7it under the terms of the GNU General Public License as published by
     8the Free Software Foundation (www.fsf.org); either version 2 of the
     9License, or (at your option) any later version.
     10
     11This program is distributed in the hope that it will be useful,
     12but WITHOUT ANY WARRANTY; without even the implied warranty of
     13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14GNU General Public License for more details.
     15
     16A copy of the GNU General Public License is available at
     17http://www.fsf.org/licensing/licenses
     18
     19>>> END OF LICENSE >>>
     20*************************************************************************/
    121namespace AP
    222{
     
    91111    public class Math
    92112    {
    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);
    94115
    95116        public const double MachineEpsilon = 5E-16;
Note: See TracChangeset for help on using the changeset viewer.