Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Rocblas::random< T > Struct Template Reference

#include <Rocblas.h>

Inheritance diagram for Rocblas::random< T >:
Collaboration diagram for Rocblas::random< T >:

Public Member Functions

void operator() (T &z, const T &a)
 

Detailed Description

template<class T>
struct Rocblas::random< T >

Definition at line 230 of file Rocblas.h.

Member Function Documentation

void operator() ( T &  z,
const T &  a 
)
inline

Definition at line 39 of file op2args.C.

References cimg_library::cimg::rand(), and s.

40  { int s = std::rand(); z = s%a; }
double s
Definition: blastest.C:80
void int int int REAL REAL REAL * z
Definition: write.cpp:76
double rand()
Return a random variable between [0,1] with respect to an uniform distribution.
Definition: CImg.h:4833

Here is the call graph for this function:


The documentation for this struct was generated from the following files: