#include "oct-rand.h"
Public Member Functions | |
~rand ()=default | |
Static Public Member Functions | |
static std::string | distribution () |
static void | distribution (const std::string &d) |
static void | exponential_distribution () |
static FloatNDArray | float_nd_array (const dim_vector &dims, float a=1.0) |
static float | float_scalar (float a=1.0) |
static Array< float > | float_vector (octave_idx_type n, float a=1.0) |
static void | gamma_distribution () |
static bool | instance_ok () |
static NDArray | nd_array (const dim_vector &dims, double a=1.0) |
static void | normal_distribution () |
static void | poisson_distribution () |
static void | reset () |
static void | reset (const std::string &d) |
static double | scalar (double a=1.0) |
static double | seed () |
static void | seed (double s) |
static uint32NDArray | state (const std::string &d="") |
static void | state (const uint32NDArray &s, const std::string &d="") |
static void | uniform_distribution () |
static Array< double > | vector (octave_idx_type n, double a=1.0) |
Protected Member Functions | |
rand () | |
Definition at line 44 of file oct-rand.h.
|
protected |
Definition at line 53 of file oct-rand.cc.
Referenced by instance_ok().
|
default |
|
inlinestatic |
Definition at line 101 of file oct-rand.h.
|
inlinestatic |
Definition at line 108 of file oct-rand.h.
References d.
|
inlinestatic |
Definition at line 126 of file oct-rand.h.
|
inlinestatic |
Definition at line 179 of file oct-rand.h.
|
inlinestatic |
Definition at line 152 of file oct-rand.h.
References NaN.
|
inlinestatic |
Definition at line 165 of file oct-rand.h.
References n.
|
inlinestatic |
Definition at line 138 of file oct-rand.h.
|
static |
Definition at line 63 of file oct-rand.cc.
References rand(), and singleton_cleanup_list::add().
|
inlinestatic |
Definition at line 172 of file oct-rand.h.
Referenced by Frandperm().
|
inlinestatic |
Definition at line 120 of file oct-rand.h.
|
inlinestatic |
Definition at line 132 of file oct-rand.h.
|
inlinestatic |
Definition at line 73 of file oct-rand.h.
|
inlinestatic |
Definition at line 94 of file oct-rand.h.
References d.
|
inlinestatic |
Definition at line 145 of file oct-rand.h.
References NaN.
|
inlinestatic |
Definition at line 59 of file oct-rand.h.
References NaN.
|
inlinestatic |
Definition at line 66 of file oct-rand.h.
|
inlinestatic |
Definition at line 80 of file oct-rand.h.
References d.
|
inlinestatic |
Definition at line 86 of file oct-rand.h.
References d.
|
inlinestatic |
Definition at line 114 of file oct-rand.h.
|
inlinestatic |
Definition at line 159 of file oct-rand.h.
References n.