Defines | Functions

randgamma.c File Reference

#include <stdio.h>
#include "lo-ieee.h"
#include "lo-math.h"
#include "randmtzig.h"
#include "randgamma.h"
Include dependency graph for randgamma.c:

Go to the source code of this file.

Defines

#define INFINITE   lo_ieee_isinf
#define NAN   octave_NaN
#define REXP   oct_rande()
#define RNOR   oct_randn()
#define RUNI   oct_randu()

Functions

void oct_fill_randg (double a, octave_idx_type n, double *r)
double oct_randg (double a)

Define Documentation

#define INFINITE   lo_ieee_isinf

Definition at line 93 of file randgamma.c.

Referenced by oct_fill_randg().

#define NAN   octave_NaN

Definition at line 92 of file randgamma.c.

Referenced by oct_fill_randg().

#define REXP   oct_rande()

Definition at line 96 of file randgamma.c.

Referenced by oct_fill_randg().

#define RNOR   oct_randn()

Definition at line 95 of file randgamma.c.

#define RUNI   oct_randu()

Definition at line 94 of file randgamma.c.


Function Documentation

void oct_fill_randg ( double  a,
octave_idx_type  n,
double r 
)

Definition at line 99 of file randgamma.c.

References d, INFINITE, NAN, REXP, and x.

Referenced by octave_rand::fill(), and oct_randg().

double oct_randg ( double  a  ) 

Definition at line 138 of file randgamma.c.

References oct_fill_randg().

Referenced by octave_rand::do_scalar().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines