GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
rand.cc File Reference
#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"
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 = rand::distribution ()
 

Function Documentation

◆ do_rand()

◆ Frand()

OCTAVE_EXPORT octave_value_list Frand ( const octave_value_list args,
int   
)

Definition at line 447 of file rand.cc.

References do_rand().

◆ Frande()

OCTAVE_EXPORT octave_value_list Frande ( const octave_value_list args,
int   
)

Definition at line 649 of file rand.cc.

References do_rand().

◆ Frandg()

OCTAVE_EXPORT octave_value_list Frandg ( const octave_value_list args,
int   
)

Definition at line 786 of file rand.cc.

References do_rand(), and error().

◆ Frandn()

OCTAVE_EXPORT octave_value_list Frandn ( const octave_value_list args,
int   
)

Definition at line 582 of file rand.cc.

References do_rand().

◆ Frandp()

OCTAVE_EXPORT octave_value_list Frandp ( const octave_value_list args,
int   
)

Definition at line 1011 of file rand.cc.

References do_rand(), and error().

◆ Frandperm()

OCTAVE_EXPORT octave_value_list Frandperm ( const octave_value_list args,
int   
)

Variable Documentation

◆ current_distribution

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

Definition at line 549 of file rand.cc.