#include <oct-rand.h>
Public Member Functions | |
~octave_rand (void) | |
Static Public Member Functions | |
static bool | instance_ok (void) |
static double | seed (void) |
static void | seed (double s) |
static ColumnVector | state (const std::string &d=std::string()) |
static void | state (const ColumnVector &s, const std::string &d=std::string()) |
static std::string | distribution (void) |
static void | distribution (const std::string &d) |
static void | uniform_distribution (void) |
static void | normal_distribution (void) |
static void | exponential_distribution (void) |
static void | poisson_distribution (void) |
static void | gamma_distribution (void) |
static double | scalar (double a=1.0) |
static Matrix | matrix (octave_idx_type r, octave_idx_type c, double a=1.0) |
static NDArray | nd_array (const dim_vector &dims, double a=1.0) |
static Array< double > | vector (octave_idx_type n, double a=1.0) |
Protected Member Functions | |
octave_rand (void) |
octave_rand::octave_rand | ( | void | ) | [protected] |
octave_rand::~octave_rand | ( | void | ) | [inline] |
static void octave_rand::distribution | ( | const std::string & | d | ) | [inline, static] |
static std::string octave_rand::distribution | ( | void | ) | [inline, static] |
static void octave_rand::exponential_distribution | ( | void | ) | [inline, static] |
static void octave_rand::gamma_distribution | ( | void | ) | [inline, static] |
bool octave_rand::instance_ok | ( | void | ) | [static] |
static Matrix octave_rand::matrix | ( | octave_idx_type | r, | |
octave_idx_type | c, | |||
double | a = 1.0 | |||
) | [inline, static] |
static NDArray octave_rand::nd_array | ( | const dim_vector & | dims, | |
double | a = 1.0 | |||
) | [inline, static] |
static void octave_rand::normal_distribution | ( | void | ) | [inline, static] |
static void octave_rand::poisson_distribution | ( | void | ) | [inline, static] |
static void octave_rand::seed | ( | double | s | ) | [inline, static] |
static double octave_rand::seed | ( | void | ) | [inline, static] |
static void octave_rand::state | ( | const ColumnVector & | s, | |
const std::string & | d = std::string () | |||
) | [inline, static] |
static ColumnVector octave_rand::state | ( | const std::string & | d = std::string () |
) | [inline, static] |
static void octave_rand::uniform_distribution | ( | void | ) | [inline, static] |
static Array<double> octave_rand::vector | ( | octave_idx_type | n, | |
double | a = 1.0 | |||
) | [inline, static] |