comparison src/DLD-FUNCTIONS/rand.cc @ 11493:a339b7a7f73b

rand.cc: delete unused static function
author John W. Eaton <jwe@octave.org>
date Wed, 12 Jan 2011 15:17:27 -0500
parents 5eb10763069f
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11492:d86389a6dc3f 11493:a339b7a7f73b
485 */ 485 */
486 486
487 487
488 static std::string current_distribution = octave_rand::distribution (); 488 static std::string current_distribution = octave_rand::distribution ();
489 489
490 static void
491 reset_rand_generator (void)
492 {
493 octave_rand::distribution (current_distribution);
494 }
495
496 DEFUN_DLD (randn, args, , 490 DEFUN_DLD (randn, args, ,
497 "-*- texinfo -*-\n\ 491 "-*- texinfo -*-\n\
498 @deftypefn {Loadable Function} {} randn (@var{x})\n\ 492 @deftypefn {Loadable Function} {} randn (@var{x})\n\
499 @deftypefnx {Loadable Function} {} randn (@var{n}, @var{m})\n\ 493 @deftypefnx {Loadable Function} {} randn (@var{n}, @var{m})\n\
500 @deftypefnx {Loadable Function} {} randn (\"state\", @var{x})\n\ 494 @deftypefnx {Loadable Function} {} randn (\"state\", @var{x})\n\