#include <cstdlib>
#include <cstdio>
#include <cmath>
#include "utils.h"
Go to the source code of this file.
|
template<typename T > |
T | spams::abs (const T x) |
|
template<> |
double | spams::abs (const double x) |
|
template<> |
float | spams::abs (const float x) |
|
template<typename T > |
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 > |
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 > |
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 > |
T | spams::ran1b () |
|
template<typename T > |
static void | spams::sort (int *irOut, T *prOut, int beg, int end) |
|
template<typename T > |
T | spams::sqr (const T x) |
|
template<typename T > |
T | spams::sqr (const int x) |
|
template<> |
double | spams::sqr (const double x) |
|
template<> |
float | spams::sqr (const float x) |
|
template<typename T > |
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 () |
|
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.