Go to the documentation of this file.
65 static inline double polevl(
double x,
const double coef[],
int N)
97 static inline double p1evl(
double x,
const double coef[],
int N)
108 ans = ans *
x + *
p++;
116 static inline double ratevl(
double x,
const double num[],
int M,
117 const double denom[],
int N)
120 double y, num_ans, denom_ans;
121 double absx =
fabs(
x);
138 for (
i = 1;
i <=
M;
i++) {
139 num_ans = num_ans *
y + *
p;
152 for (
i = 1;
i <=
N;
i++) {
153 denom_ans = denom_ans *
y + *
p;
159 return pow(
x,
i) * num_ans / denom_ans;
161 return num_ans / denom_ans;
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
static double p1evl(double x, const double coef[], int N)
static double ratevl(double x, const double num[], int M, const double denom[], int N)
static double polevl(double x, const double coef[], int N)
const Eigen::CwiseBinaryOp< Eigen::internal::scalar_pow_op< typename Derived::Scalar, typename ExponentDerived::Scalar >, const Derived, const ExponentDerived > pow(const Eigen::ArrayBase< Derived > &x, const Eigen::ArrayBase< ExponentDerived > &exponents)
Matrix< RealScalar, Dynamic, Dynamic > M
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:34:23