DMRITool  v0.1.1-139-g860d86b4
Diffusion MRI Tool
Namespaces | Functions | Variables
misc.h File Reference
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include "utils.h"
+ Include dependency graph for misc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 spams
 

Functions

template<typename T >
spams::abs (const T x)
 
template<>
double spams::abs (const double x)
 
template<>
float spams::abs (const float x)
 
template<typename T >
spams::exp_alt (const T x)
 
template<>
double spams::exp_alt (const double x)
 
template<>
float spams::exp_alt (const float x)
 
static int spams::init_omp (const int numThreads)
 
template<typename T >
spams::log_alt (const T x)
 
template<>
double spams::log_alt (const double x)
 
template<>
float spams::log_alt (const float x)
 
template<typename T >
static T spams::normalDistrib ()
 
template<typename T >
spams::power (const T x, const T y)
 
template<>
double spams::power (const double x, const double y)
 
template<>
float spams::power (const float x, const float y)
 
template<typename T >
static void spams::quick_sort (int *irOut, T *prOut, const int beg, const int end, const bool incr)
 
template<typename T >
static T spams::ran1 ()
 
template<typename T >
static T spams::ran1b ()
 
template<typename T >
spams::ran1b ()
 
template<typename T >
static void spams::sort (int *irOut, T *prOut, int beg, int end)
 
template<typename T >
spams::sqr (const T x)
 
template<typename T >
spams::sqr (const int x)
 
template<>
double spams::sqr (const double x)
 
template<>
float spams::sqr (const float x)
 
template<typename T >
spams::sqr_alt (const T x)
 
template<>
double spams::sqr_alt (const double x)
 
template<>
float spams::sqr_alt (const float x)
 
static void spams::stop ()
 

Variables

static int spams::seed = 0
 

Detailed Description

Contains miscellaneous functions.

toolbox Linalg

by Julien Mairal julie.nosp@m.n.ma.nosp@m.iral@.nosp@m.inri.nosp@m.a.fr

File misc.h

Definition in file misc.h.