Navigation

Operators and Keywords

Function List:

C++ API

oct-rand.cc File Reference

#include <map>
#include <vector>
#include "f77-fcn.h"
#include "lo-ieee.h"
#include "lo-error.h"
#include "lo-mappers.h"
#include "oct-rand.h"
#include "oct-time.h"
#include "data-conv.h"
#include "randmtzig.h"
#include "randpoisson.h"
#include "randgamma.h"
#include "mach-info.h"
#include "oct-locbuf.h"

Include dependency graph for oct-rand.cc:


Defines

#define MAKE_RAND(len)
#define RAND_FUNC(x)   F77_FUNC (dgenunf, DGENUNF) (0.0, 1.0, x)
#define RAND_FUNC(x)   F77_FUNC (dgennor, DGENNOR) (0.0, 1.0, x)
#define RAND_FUNC(x)   F77_FUNC (dgenexp, DGENEXP) (1.0, x)
#define RAND_FUNC(x)   x = octave_NaN;
#define RAND_FUNC(x)   F77_FUNC (dignpoi, DIGNPOI) (a, x)
#define RAND_FUNC(x)   x = octave_NaN;
#define RAND_FUNC(x)   F77_FUNC (dgengam, DGENGAM) (1.0, a, x)

Functions

F77_RET_T F77_FUNC (dgennor, DGENNOR)(const double &
F77_RET_T const double double
&F77_RET_T 
F77_FUNC (dgenunf, DGENUNF)(const double &
F77_RET_T const double double
&F77_RET_T const double double
&F77_RET_T 
F77_FUNC (dgenexp, DGENEXP)(const double &
F77_RET_T const double double
&F77_RET_T const double double
&F77_RET_T double &F77_RET_T 
F77_FUNC (dignpoi, DIGNPOI)(const double &
F77_RET_T const double double
&F77_RET_T const double double
&F77_RET_T double &F77_RET_T
double &F77_RET_T 
F77_FUNC (dgengam, DGENGAM)(const double &
F77_RET_T const double double
&F77_RET_T const double double
&F77_RET_T double &F77_RET_T
double &F77_RET_T const double
double &F77_RET_T 
F77_FUNC (setall, SETALL)(const octave_idx_type &
F77_RET_T const double double
&F77_RET_T const double double
&F77_RET_T double &F77_RET_T
double &F77_RET_T const double
double &F77_RET_T const
octave_idx_type &F77_RET_T 
F77_FUNC (getsd, GETSD)(octave_idx_type &
F77_RET_T const double double
&F77_RET_T const double double
&F77_RET_T double &F77_RET_T
double &F77_RET_T const double
double &F77_RET_T const
octave_idx_type &F77_RET_T
octave_idx_type &F77_RET_T 
F77_FUNC (setsd, SETSD)(const octave_idx_type &
F77_RET_T const double double
&F77_RET_T const double double
&F77_RET_T double &F77_RET_T
double &F77_RET_T const double
double &F77_RET_T const
octave_idx_type &F77_RET_T
octave_idx_type &F77_RET_T
const octave_idx_type
&F77_RET_T 
F77_FUNC (setcgn, SETCGN)(const octave_idx_type &)

Define Documentation

#define MAKE_RAND ( len   ) 

Value:

do \
    { \
      double val; \
      for (volatile octave_idx_type i = 0; i < len; i++) \
        { \
          OCTAVE_QUIT; \
          RAND_FUNC (val); \
          v[i] = val; \
        } \
    } \
  while (0)

#define RAND_FUNC (  )     F77_FUNC (dgengam, DGENGAM) (1.0, a, x)

#define RAND_FUNC (  )     x = octave_NaN;

#define RAND_FUNC (  )     F77_FUNC (dignpoi, DIGNPOI) (a, x)

#define RAND_FUNC (  )     x = octave_NaN;

#define RAND_FUNC (  )     F77_FUNC (dgenexp, DGENEXP) (1.0, x)

#define RAND_FUNC (  )     F77_FUNC (dgennor, DGENNOR) (0.0, 1.0, x)

#define RAND_FUNC (  )     F77_FUNC (dgenunf, DGENUNF) (0.0, 1.0, x)


Function Documentation

F77_RET_T const double double& F77_RET_T const double double& F77_RET_T double& F77_RET_T double& F77_RET_T const double double& F77_RET_T const octave_idx_type& F77_RET_T octave_idx_type& F77_RET_T const octave_idx_type& F77_RET_T F77_FUNC ( setcgn  ,
SETCGN   
) const

F77_RET_T const double double& F77_RET_T const double double& F77_RET_T double& F77_RET_T double& F77_RET_T const double double& F77_RET_T const octave_idx_type& F77_RET_T octave_idx_type& F77_RET_T F77_FUNC ( setsd  ,
SETSD   
) const

F77_RET_T const double double& F77_RET_T const double double& F77_RET_T double& F77_RET_T double& F77_RET_T const double double& F77_RET_T const octave_idx_type& F77_RET_T F77_FUNC ( getsd  ,
GETSD   
)

F77_RET_T const double double& F77_RET_T const double double& F77_RET_T double& F77_RET_T double& F77_RET_T const double double& F77_RET_T F77_FUNC ( setall  ,
SETALL   
) const

F77_RET_T const double double& F77_RET_T const double double& F77_RET_T double& F77_RET_T double& F77_RET_T F77_FUNC ( dgengam  ,
DGENGAM   
) const

F77_RET_T const double double& F77_RET_T const double double& F77_RET_T double& F77_RET_T F77_FUNC ( dignpoi  ,
DIGNPOI   
) const

F77_RET_T const double double& F77_RET_T const double double& F77_RET_T F77_FUNC ( dgenexp  ,
DGENEXP   
) const

F77_RET_T const double double& F77_RET_T F77_FUNC ( dgenunf  ,
DGENUNF   
) const

F77_RET_T F77_FUNC ( dgennor  ,
DGENNOR   
) const