Various utility functions and constants.
More...
#include <armadillo>
#include <cmath>
#include <complex>
#include <cfloat>
#include <functional>
Go to the source code of this file.
|
using | target::cx_dbl = std::complex< double > |
|
using | target::cx_func = std::function< arma::cx_mat(arma::cx_vec theta)> |
|
|
arma::mat | target::deriv (cx_func f, arma::vec theta) |
|
arma::umat | target::clusterid (const arma::uvec &id) |
|
arma::mat | target::groupsum (const arma::mat &x, const arma::uvec &cluster, bool reduce=true) |
|
void | target::fastpattern (const arma::umat &y, arma::umat &pattern, arma::uvec &group, unsigned categories=2) |
|
arma::umat | target::fastapprox (arma::vec &time, const arma::vec &newtime, bool equal=false, unsigned type=0) |
|
double | target::SupTest (const arma::vec &D) |
|
double | target::L2Test (const arma::vec &D, const arma::vec &t) |
|
double | target::CramerVonMises (const arma::vec &x, const arma::vec &G) |
|
|
arma::mat const | target::EmptyMat = arma::mat() |
|
arma::vec const | target::EmptyVec = arma::vec() |
|
const char * | target::COL_RESET = "\x1b[0m" |
|
const char * | target::COL_DEF = "\x1b[39m" |
|
const char * | target::BLACK = "\x1b[30m" |
|
const char * | target::RED = "\x1b[31m" |
|
const char * | target::MAGENTA = "\x1b[35m" |
|
const char * | target::YELLOW = "\x1b[33m" |
|
const char * | target::GREEN = "\x1b[32m" |
|
const char * | target::BLUE = "\x1b[34m" |
|
const char * | target::CYAN = "\x1b[36m" |
|
const char * | target::WHITE = "\x1b[37m" |
|
const char * | target::GRAY = "\x1b[90m" |
|
const char * | target::LRED = "\x1b[91m" |
|
const char * | target::LGREEN = "\x1b[92m" |
|
const char * | target::LYELLOW = "\x1b[93m" |
|
const char * | target::LBLUE = "\x1b[94m" |
|
const char * | target::LMAGENTA = "\x1b[95m" |
|
const char * | target::LCYAN = "\x1b[96m" |
|
const char * | target::LWHITE = "\x1b[97m" |
|
Various utility functions and constants.
- Author
- Klaus K. Holst
- Copyright
- 2020, Klaus Kähler Holst
Definition in file utils.hpp.