rmathd.common

Undocumented in source.

Public Imports

std.math
public import std.math : sin, cos, tan, atan, sqrt, exp, expm1, log, isNaN, isFinite, ldexp, nearbyint, floor, round, abs, fabs, fmod, trunc, log1p, pow, ceil;
core.stdc.math
public import core.stdc.math : lgammaf, lgammal;
core.stdc.float_
public import core.stdc.float_ : FLT_MIN_EXP, FLT_MANT_DIG, LDBL_MIN_EXP, DBL_MIN_EXP, DBL_MANT_DIG, LDBL_MANT_DIG, FLT_MIN, DBL_MIN, LDBL_MIN, FLT_MAX, DBL_MAX, LDBL_MAX, FLT_EPSILON, DBL_EPSILON, LDBL_EPSILON, FLT_MAX_EXP, DBL_MAX_EXP, LDBL_MAX_EXP, FLT_RADIX;
rmathd.rng.rng
public import rmathd.rng.rng;

Members

Aliases

imax2
alias imax2 = max
Undocumented in source.
imin2
alias imin2 = min
Undocumented in source.

Enums

N01type
enum N01type
Undocumented in source.

Functions

R_D_half
auto R_D_half(int log_p)
Undocumented in source. Be warned that the author may not have intended to support it.
R_pow_di
auto R_pow_di(T x, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
bd0
T bd0(T x, T np)
Undocumented in source. Be warned that the author may not have intended to support it.
chebyshev_eval
T chebyshev_eval(T x, const(T)* a, const(int) n)
Undocumented in source. Be warned that the author may not have intended to support it.
chebyshev_init
int chebyshev_init(T* dos, int nos, T eta)
Undocumented in source. Be warned that the author may not have intended to support it.
cospi
T cospi(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
d1mach
T d1mach(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
dbinom_raw
auto dbinom_raw(T x, T n, T p, T q, int give_log)
Undocumented in source. Be warned that the author may not have intended to support it.
doNothing
void doNothing()
Undocumented in source. Be warned that the author may not have intended to support it.
dpois_raw
T dpois_raw(T x, T lambda, int give_log)
Undocumented in source. Be warned that the author may not have intended to support it.
exp_rand
T exp_rand()
Undocumented in source. Be warned that the author may not have intended to support it.
fmax2
T fmax2(T x, T y)
Undocumented in source. Be warned that the author may not have intended to support it.
fmin2
T fmin2(T x, T y)
Undocumented in source. Be warned that the author may not have intended to support it.
fsign
T fsign(T x, T y)
Undocumented in source. Be warned that the author may not have intended to support it.
gammafn
T gammafn(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
gammalims
void gammalims(T* xmin, T* xmax)
Undocumented in source. Be warned that the author may not have intended to support it.
i1mach
int i1mach(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
lgamma
T lgamma(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
lgamma
T lgamma(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
lgamma
T lgamma(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
lgammacor
T lgammacor(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
lgammafn
T lgammafn(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
lgammafn_sign
T lgammafn_sign(T x, int* sgn)
Undocumented in source. Be warned that the author may not have intended to support it.
max
T max(T x, T y)
Undocumented in source. Be warned that the author may not have intended to support it.
min
T min(T x, T y)
Undocumented in source. Be warned that the author may not have intended to support it.
rng_demo
void rng_demo()
Undocumented in source. Be warned that the author may not have intended to support it.
sinpi
T sinpi(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
stirlerr
T stirlerr(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
tanpi
T tanpi(T x)
Undocumented in source. Be warned that the author may not have intended to support it.
unif_rand
auto unif_rand(double lower, double upper)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

AHRENS_DIETER
enum AHRENS_DIETER;
Undocumented in source.
BOX_MULLER
enum BOX_MULLER;
Undocumented in source.
BUGGY_KINDERMAN_RAMAGE
enum BUGGY_KINDERMAN_RAMAGE;
Undocumented in source.
CHAR_BIT
enum CHAR_BIT;
Undocumented in source.
INT_MAX
enum INT_MAX;
Undocumented in source.
INVERSION
enum INVERSION;
Undocumented in source.
KINDERMAN_RAMAGE
enum KINDERMAN_RAMAGE;
Undocumented in source.
M_1_PI
enum M_1_PI;
Undocumented in source.
M_1_SQRT_2PI
enum M_1_SQRT_2PI;
Undocumented in source.
M_2PI
enum M_2PI;
Undocumented in source.
M_LN10
enum M_LN10;
Undocumented in source.
M_LN2
enum M_LN2;
Undocumented in source.
M_LN_2PI
enum M_LN_2PI;
Undocumented in source.
M_LN_SQRT_2PI
enum M_LN_SQRT_2PI;
Undocumented in source.
M_LN_SQRT_PI
enum M_LN_SQRT_PI;
Undocumented in source.
M_LN_SQRT_PId2
enum M_LN_SQRT_PId2;
Undocumented in source.
M_LOG10_2
enum M_LOG10_2;
Undocumented in source.
M_PI
enum M_PI;
Undocumented in source.
M_PI_2
enum M_PI_2;
Undocumented in source.
M_SQRT2
enum M_SQRT2;
Undocumented in source.
M_SQRT_2dPI
enum M_SQRT_2dPI;
Undocumented in source.
M_SQRT_32
enum M_SQRT_32;
Undocumented in source.
M_SQRT_PI
enum M_SQRT_PI;
Undocumented in source.
USER_NORM
enum USER_NORM;
Undocumented in source.
scalefactor
enum scalefactor;
Undocumented in source.

Mixin templates

M_cutoff
mixintemplate M_cutoff(T)
Undocumented in source.
R_DT_CIv
mixintemplate R_DT_CIv(alias p)
Undocumented in source.
R_DT_qIv
mixintemplate R_DT_qIv(alias p)
Undocumented in source.
R_D_Cval
mixintemplate R_D_Cval(alias p)
Undocumented in source.
R_D__0
mixintemplate R_D__0(alias log_p)
Undocumented in source.
R_D__1
mixintemplate R_D__1(alias log_p)
Undocumented in source.

Templates

EPSILON
template EPSILON(T)
Undocumented in source.
MANT_DIG
template MANT_DIG(T)
Undocumented in source.
MAX
template MAX(T)
Undocumented in source.
MAX_EXP
template MAX_EXP(T)
Undocumented in source.
MIN
template MIN(T)
Undocumented in source.
MIN_EXP
template MIN_EXP(T)
Undocumented in source.
R_DT_0
template R_DT_0(T)
Undocumented in source.
R_DT_1
template R_DT_1(T)
Undocumented in source.
R_DT_Clog
template R_DT_Clog(T)
Undocumented in source.
R_DT_Log
template R_DT_Log(T)
Undocumented in source.
R_DT_log
template R_DT_log(T)
Undocumented in source.
R_DT_val
template R_DT_val(T)
Undocumented in source.
R_D_Clog
template R_D_Clog(T)
Undocumented in source.
R_D_LExp
template R_D_LExp(T)
Undocumented in source.
R_D_Lval
template R_D_Lval(T)
Undocumented in source.
R_D_exp
template R_D_exp(T)
Undocumented in source.
R_D_fexp
template R_D_fexp(T)
Undocumented in source.
R_D_log
template R_D_log(T)
Undocumented in source.
R_D_negInonint
template R_D_negInonint(T)
Undocumented in source.
R_D_nonint_check
template R_D_nonint_check(alias x)
Undocumented in source.
R_D_qIv
template R_D_qIv(T)
Undocumented in source.
R_D_val
template R_D_val(T)
Undocumented in source.
R_Log1_Exp
template R_Log1_Exp(T)
Undocumented in source.
R_P_bounds_01
template R_P_bounds_01(alias x, alias x_min, alias x_max)
Undocumented in source.
R_P_bounds_Inf_01
template R_P_bounds_Inf_01(alias x)
Undocumented in source.
R_Q_P01_boundaries
template R_Q_P01_boundaries(alias p, alias LEFT, alias RIGHT)
Undocumented in source.
R_Q_P01_check
template R_Q_P01_check(alias p)
Undocumented in source.
R_nonint
template R_nonint(T)
Undocumented in source.
SQR
template SQR(T)
Undocumented in source.

Meta