Go to the documentation of this file.
51 #define MAXGAM 171.624376956302725
55 #define ASYMP_FACTOR 1e6
132 return (
sign * INFINITY);
195 return (
sign * INFINITY);
223 r +=
b*(1-
b)*(1-2*
b)/(12*
a*
a);
224 r += -
b*
b*(1-
b)*(1-
b)/(12*
a*
a*
a);
237 if (
b == (
int)
b && 1 -
a -
b > 0) {
238 sgn = ((
int)
b % 2 == 0) ? 1 : -1;
239 return sgn *
beta(1 -
a -
b,
b);
250 if (
b == (
int)
b && 1 -
a -
b > 0) {
static double beta_negint(int a, double b)
const EIGEN_DEVICE_FUNC SignReturnType sign() const
const EIGEN_DEVICE_FUNC LogReturnType log() const
const EIGEN_DEVICE_FUNC ExpReturnType exp() const
double beta(double a, double b)
double lgam_sgn(double x, int *sign)
double lbeta(double a, double b)
void sf_error(const char *func_name, sf_error_t code, const char *fmt,...)
static double lbeta_asymp(double a, double b, int *sgn)
const EIGEN_DEVICE_FUNC FloorReturnType floor() const
static double lbeta_negint(int a, double b)
gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:00:45