GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
randgamma.cc File Reference
#include <cmath>
#include "lo-ieee.h"
#include "randgamma.h"
#include "randmtzig.h"

Go to the source code of this file.

Functions

template void rand_gamma (double, octave_idx_type, double *)
 
template void rand_gamma (float, octave_idx_type, float *)
 
template<typename T >
void rand_gamma (T a, octave_idx_type n, T *r)
 

Function Documentation

◆ rand_gamma() [1/3]

template void rand_gamma ( double  ,
octave_idx_type  ,
double *   
)

◆ rand_gamma() [2/3]

template void rand_gamma ( float  ,
octave_idx_type  ,
float *   
)

◆ rand_gamma() [3/3]

template<typename T >
void rand_gamma ( a,
octave_idx_type  n,
T *  r 
)

Definition at line 95 of file randgamma.cc.

References d, lo_ieee_isinf, n, NaN, r, and x.

Referenced by rand_gamma().