ViennaCL - The Vienna Computing Library: examples/tutorial/Random.hpp File Reference

ViennaCL - The Vienna Computing Library 1.6.2 Free open-source GPU-accelerated linear algebra and solver library. |

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
Random.hpp File Reference
`#include <time.h>`
`#include <stdlib.h>`

Go to the source code of this file.

## Functions
void | init ()
template<class TYPE >
TYPE | random ()
template<>
double | random< double > ()
template<>
float | random< float > ()

## Function Documentation

void init | ( |  | ) |
| inline

Definition at line 24 of file Random.hpp.

template<class TYPE >

TYPE random | ( |  | ) |

template<>

double random< double > | ( |  | ) |

Definition at line 38 of file Random.hpp.

template<>

float random< float > | ( |  | ) |

Definition at line 45 of file Random.hpp.