#include <ctime>
#include <unordered_map>
#include <string>
#include "f77-fcn.h"
#include "lo-mappers.h"
#include "oct-rand.h"
#include "quit.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "ovl.h"
#include "unwind-prot.h"
#include "utils.h"
#include "ov-re-mat.h"
Go to the source code of this file.
◆ do_rand()
Definition at line 81 of file rand.cc.
References a, octave::action_container::add_fcn(), Range::all_elements_are_ints(), Range::base(), d, dims, octave_rand::distribution(), e, err_wrong_type_arg(), error(), octave_rand::exponential_distribution(), fcn, octave_rand::float_nd_array(), octave_rand::float_scalar(), Array< T >::fortran_vec(), frame, octave_rand::gamma_distribution(), i, Range::inc(), octave::math::isinf(), octave::math::isnan(), octave_rand::nd_array(), octave::math::nint_big(), octave_rand::normal_distribution(), Range::numel(), Array< T >::numel(), octave_rand::poisson_distribution(), octave_rand::reset(), retval, s, octave_rand::scalar(), octave_rand::seed(), octave_rand::state(), string, tmp, and octave_rand::uniform_distribution().
Referenced by Frand().
◆ Frand()
◆ Frandn()
◆ current_distribution
◆ ite
uses the ite {Ziggurat Method for Generating Random Variables} |
◆ ospell
uses the ospell {Marsaglia and Tsang} ``Ziggurat technique'' to transform from a uniform to a normal distribution. The class of the value returned can be controlled by a trailing code{"double"} or code{"single"} argument. These are the only valid classes. Reference: ospell{G. Marsaglia and W.W. Tsang} |
◆ Software
uses the J Statistical Software |
◆ vol
uses the J Statistical vol |