GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
rand.cc File Reference
#include <ctime>
#include <string>
#include "f77-fcn.h"
#include "lo-mappers.h"
#include "oct-rand.h"
#include "quit.h"
#include "defun.h"
#include "error.h"
#include "gripes.h"
#include "oct-obj.h"
#include "unwind-prot.h"
#include "utils.h"
#include "ov-re-mat.h"
Include dependency graph for rand.cc:

Go to the source code of this file.

Functions

static octave_value do_rand (const octave_value_list &args, int nargin, const char *fcn, const std::string &distribution, bool additional_arg=false)
OCTAVE_EXPORT octave_value_list Frand (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Frande (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Frandg (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Frandn (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Frandp (const octave_value_list &args, int)
OCTAVE_EXPORT octave_value_list Frandperm (const octave_value_list &args, int)

Variables

static std::string current_distribution = octave_rand::distribution ()

Function Documentation

static octave_value do_rand ( const octave_value_list args,
int  nargin,
const char fcn,
const std::string &  distribution,
bool  additional_arg = false 
)
static
OCTAVE_EXPORT octave_value_list Frand ( const octave_value_list args,
int   
)

Definition at line 455 of file rand.cc.

References do_rand(), and octave_value::length().

OCTAVE_EXPORT octave_value_list Frande ( const octave_value_list args,
int   
)

Definition at line 654 of file rand.cc.

References do_rand(), and octave_value::length().

OCTAVE_EXPORT octave_value_list Frandg ( const octave_value_list args,
int   
)

Definition at line 795 of file rand.cc.

References do_rand(), error(), and octave_value::length().

OCTAVE_EXPORT octave_value_list Frandn ( const octave_value_list args,
int   
)

Definition at line 583 of file rand.cc.

References do_rand(), and octave_value::length().

OCTAVE_EXPORT octave_value_list Frandp ( const octave_value_list args,
int   
)

Definition at line 1018 of file rand.cc.

References do_rand(), error(), and octave_value::length().

OCTAVE_EXPORT octave_value_list Frandperm ( const octave_value_list args,
int   
)

Variable Documentation

std::string current_distribution = octave_rand::distribution ()
static

Definition at line 551 of file rand.cc.