Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ENH: Add dtype argument to random.randint. | Charles Harris | 2016-01-02 | 1 | -1/+223 |
| | | | | | | | | | | | | | | | | | | | | | Random ndarrays of the following types can now be generated: * np.bool, * np.int8, np.uint8, * np.int16, np.uint16, * np.int32, np.uint32, * np.int64, np.uint64, * np.int_ (long), np.intp The specification is by precision rather than by C type. Hence, on some platforms np.int64 may be a `long` instead of `long long` even if the specified dtype is `long long` because the two may have the same precision. The resulting type depends on which c type numpy uses for the given precision. The byteorder specification is also ignored, the generated arrays are always in native byte order. The dtype of the result could be made more explicit if desired without changing the user visible results. | ||||
* | BUG, STY: Make gaussian random number generators with identical behaviour | Charles Harris | 2010-05-26 | 1 | -14/+18 |
| | | | | have identical pickles. | ||||
* | STY: A Few more coding style cleanups. | Charles Harris | 2010-05-26 | 1 | -9/+20 |
| | |||||
* | STY: Some c coding style cleanups. | Charles Harris | 2010-05-26 | 1 | -41/+50 |
| | |||||
* | Hard tab removal. | Charles Harris | 2009-10-20 | 1 | -166/+163 |
| | | | | | Trailing whitespace removal. Some coding style cleanups. | ||||
* | Forgot to add time headers when mingw workaround is not used on windows. | David Cournapeau | 2008-11-17 | 1 | -0/+2 |
| | |||||
* | Include time.h and sys/timeb.h just after defining our custom ↵ | David Cournapeau | 2008-11-17 | 1 | -2/+2 |
| | | | | __MSVCRT_VERSION__ to avoid possible duplicate. | ||||
* | Conditionally setup mingw workaround on __GNUC__ since we can't detect if we ↵ | David Cournapeau | 2008-11-17 | 1 | -1/+3 |
| | | | | are built with mingw in distutils setup.py. | ||||
* | Do not generate a config.h for randomkit: it does not work as it is, and ↵ | David Cournapeau | 2008-11-17 | 1 | -2/+0 |
| | | | | adding per-subpackage include path is a PITA with distutils. | ||||
* | Fix the inaccurate comment regarding _ftime issues with mingw. | David Cournapeau | 2008-11-17 | 1 | -2/+2 |
| | |||||
* | Set __MSVCRT_VERSION__ to make _ftime64 visible from time.h header when we ↵ | David Cournapeau | 2008-11-17 | 1 | -1/+4 |
| | | | | need to workaround mingw bug. | ||||
* | Use a wrapper around _ftime to work around a mingw bug in msvc runtimes ↵ | David Cournapeau | 2008-11-17 | 1 | -1/+10 |
| | | | | import libraries. | ||||
* | Postpone time.h include because we will need to customize it on windows. | David Cournapeau | 2008-11-14 | 1 | -1/+2 |
| | |||||
* | Generate config header for random kit (empty for now). | David Cournapeau | 2008-11-14 | 1 | -0/+1 |
| | |||||
* | Fixes #488. In rk_interval, use rk_random if the interval size is less than ↵ | cookedm | 2007-04-02 | 1 | -0/+8 |
| | | | | | | | 2**32. For 64-bit machines, this means results will agree with 32-bit machines, and will be faster for these interval sizes (one less rk_random evaluation). | ||||
* | Intialize the has_binomial field of the mtrand state. | cookedm | 2006-05-19 | 1 | -0/+2 |
| | |||||
* | Moved scipy directory to numpy | Travis Oliphant | 2006-01-04 | 1 | -0/+355 |