Mercurial > hg > octave-lyh
comparison liboctave/ChangeLog @ 5730:109fdf7b3dcb
[project @ 2006-04-03 19:18:26 by jwe]
author | jwe |
---|---|
date | Mon, 03 Apr 2006 19:18:26 +0000 |
parents | 34cda7d94c08 |
children | c7d5a534afa5 |
comparison
equal
deleted
inserted
replaced
5729:e065f7c18bdc | 5730:109fdf7b3dcb |
---|---|
1 2006-04-03 David Bateman <dbateman@free.fr> | |
2 | |
3 * Makefile.in (INCLUDES): Add randgamma.h, randpoisson.h and | |
4 randmtzig.h to the list. | |
5 (LIBOCTAVE_C_SOURCES): Add randgamma.c, randpoisson.c and | |
6 randmtzig.c to the list. | |
7 * oct-rand.cc (do_old_initialization): Rename from do_initialization. | |
8 (use_old_generators): New variable. | |
9 (old_initialized): Rename from initialized. | |
10 (new_initialized): New variable. | |
11 (oct_init_by_entropy): New function. | |
12 (maybe_initialize): Initialize new or old generator depending on | |
13 value of use_old_generators. | |
14 (octave_rand::state): New functions. | |
15 (octave_rand::distribution): Add gamma, exponential and poisson | |
16 distributions. | |
17 (octave_rand::exponential_distribution, | |
18 octave_rand::poisson_distribution, | |
19 octave_rand::gamma_distribution): New methods to select | |
20 exponential, poisson or gamma distribution. | |
21 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
22 octave_rand::vector): Add new distributions. | |
23 * oct-rand.h: Provide decls for new functions. | |
24 (octave_rand::matrix, octave_rand::scalar, octave_rand:: | |
25 (octave_rand::scalar, octave_rand::matrix, octave_rand::nd_array, | |
26 octave_rand::vector): New arg A, for gamma and poisson distributions. | |
27 * randpoisson.c, randpoisson.h, randgamma.c, randmtzig.c, | |
28 randmtzig.h: New files. | |
29 | |
1 2006-03-24 John W. Eaton <jwe@octave.org> | 30 2006-03-24 John W. Eaton <jwe@octave.org> |
2 | 31 |
3 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is | 32 * dSparse.cc (SparseMatrix::bsolve): Integer work vector is |
4 Array<octave_idx_type>, so fortran_vec returns pointer to | 33 Array<octave_idx_type>, so fortran_vec returns pointer to |
5 octave_idx_type, not pointer to int. | 34 octave_idx_type, not pointer to int. |