<T>LAPACK 0.1.1
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
larnv.hpp File Reference

Returns a vector of random numbers from a uniform or normal distribution. More...

#include <random>
#include "tlapack/base/types.hpp"
Include dependency graph for larnv.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<int idist, TLAPACK_VECTOR vector_t, class iseed_t >
void tlapack::larnv (iseed_t &iseed, vector_t &x)
 Returns a vector of n random numbers from a uniform or normal distribution.
 

Detailed Description

Returns a vector of random numbers from a uniform or normal distribution.

Author
Weslley S Pereira, University of Colorado Denver, USA Adapted from
See also
https://github.com/langou/latl/blob/mastUSA
Note
Adapted