ViennaCL - The Vienna Computing Library  1.7.1
Free open-source GPU-accelerated linear algebra and solver library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
random.hpp File Reference

A small collection of sequential random number generators. More...

#include <ctime>
#include <cstdlib>
#include <cmath>

Go to the source code of this file.

Classes

class  viennacl::tools::uniform_random_numbers< NumericT >
 Random number generator for returning uniformly distributed values in the closed interval [0, 1]. More...
 
class  viennacl::tools::normal_random_numbers< NumericT >
 Random number generator for returning normally distributed values. More...
 

Namespaces

 viennacl
 Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
 
 viennacl::tools
 Namespace for various tools used within ViennaCL.
 

Detailed Description

A small collection of sequential random number generators.

Should not be considered a source of high-quality random numbers. It is, however, enough to produce meaningful initial guesses.

Definition in file random.hpp.