LILAC
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
noise.hpp File Reference
#include "defs.hpp"
#include "types/type_operators.hpp"
#include <stdlib.h>
#include <time.h>
#include <acml.h>
Include dependency graph for noise.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __HIDER__::acml_rng
 rng generator struct; More...

Namespaces

namespace  __HIDER__

Functions

double get_norm_rand (double sigma)
template<class T , class Lambda >
void gaussian_noise (T *inval, size_t len, double mean, double sdev, Lambda &&fnc)
 This functions fills the input data with random gaussian noise.
template<class T >
void gaussian_noise (T *inval, size_t len, double mean, double sdev)

Function Documentation

template<class T , class Lambda >
void gaussian_noise ( T *  inval,
size_t  len,
double  mean,
double  sdev,
Lambda &&  fnc 
)
inline

This functions fills the input data with random gaussian noise.

This functions fills each variable of the

rng generator struct;

Definition at line 69 of file noise.hpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class T >
void gaussian_noise ( T *  inval,
size_t  len,
double  mean,
double  sdev 
)
inline

Definition at line 92 of file noise.hpp.

Here is the call graph for this function:

double get_norm_rand ( double  sigma)