Home
last modified time | relevance | path

Searched refs:lgamma (Results 1 – 25 of 87) sorted by relevance

1234

/external/python/cpython2/Lib/test/
Dmath_testcases.txt170 -- lgamma: log of absolute value of the gamma function --
174 lgam0000 lgamma 0.0 -> inf divide-by-zero
175 lgam0001 lgamma -0.0 -> inf divide-by-zero
176 lgam0002 lgamma inf -> inf
177 lgam0003 lgamma -inf -> inf
178 lgam0004 lgamma nan -> nan
181 lgam0010 lgamma -1 -> inf divide-by-zero
182 lgam0011 lgamma -2 -> inf divide-by-zero
183 lgam0012 lgamma -1e16 -> inf divide-by-zero
184 lgam0013 lgamma -1e300 -> inf divide-by-zero
[all …]
/external/python/cpython3/Lib/test/
Dmath_testcases.txt170 -- lgamma: log of absolute value of the gamma function --
174 lgam0000 lgamma 0.0 -> inf divide-by-zero
175 lgam0001 lgamma -0.0 -> inf divide-by-zero
176 lgam0002 lgamma inf -> inf
177 lgam0003 lgamma -inf -> inf
178 lgam0004 lgamma nan -> nan
181 lgam0010 lgamma -1 -> inf divide-by-zero
182 lgam0011 lgamma -2 -> inf divide-by-zero
183 lgam0012 lgamma -1e16 -> inf divide-by-zero
184 lgam0013 lgamma -1e300 -> inf divide-by-zero
[all …]
/external/eigen/unsupported/test/
Dspecial_functions.cpp44 VERIFY_IS_APPROX(m1.lgamma(), lgamma(m1)); in array_special_functions()
72 ArrayType Gamma_a_x = Eigen::igammac(a, x) * a.lgamma().exp(); in array_special_functions()
73 ArrayType Gamma_a_m1_x = Eigen::igammac(a_m1, x) * a_m1.lgamma().exp(); in array_special_functions()
74 ArrayType gamma_a_x = Eigen::igamma(a, x) * a.lgamma().exp(); in array_special_functions()
75 ArrayType gamma_a_m1_x = Eigen::igamma(a_m1, x) * a_m1.lgamma().exp(); in array_special_functions()
81 VERIFY_IS_APPROX(Gamma_a_x + gamma_a_x, a.lgamma().exp()); in array_special_functions()
316 ArrayType denom = a * (a.lgamma() + b.lgamma() - (a + b).lgamma()).exp(); in array_special_functions()
333 ArrayType denom = b * (a.lgamma() + b.lgamma() - (a + b).lgamma()).exp(); in array_special_functions()
/external/tensorflow/tensorflow/core/api_def/python_api/
Dapi_def_Lgamma.pbtxt4 name: "math.lgamma"
7 name: "lgamma"
/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_lgamma.cc19 REGISTER3(UnaryOp, CPU, "Lgamma", functor::lgamma, float, Eigen::half, double);
21 REGISTER3(UnaryOp, GPU, "Lgamma", functor::lgamma, float, Eigen::half, double);
Dcwise_op_gpu_lgamma.cu.cc22 DEFINE_UNARY3(lgamma, Eigen::half, float, double);
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dnegative_binomial.py185 return (-math_ops.lgamma(self.total_count + x)
186 + math_ops.lgamma(1. + x)
187 + math_ops.lgamma(self.total_count))
Dbinomial.py262 return (math_ops.lgamma(1. + self.total_count - counts)
263 + math_ops.lgamma(1. + counts)
264 - math_ops.lgamma(1. + self.total_count))
Dinverse_gamma.py217 return (math_ops.lgamma(self.concentration)
223 + math_ops.lgamma(self.concentration)
/external/tensorflow/tensorflow/python/ops/distributions/
Dgamma.py240 return (math_ops.lgamma(self.concentration)
246 + math_ops.lgamma(self.concentration)
335 + math_ops.lgamma(g1.concentration)
336 - math_ops.lgamma(g0.concentration)
Dbeta.py283 return (math_ops.lgamma(self.concentration1)
284 + math_ops.lgamma(self.concentration0)
285 - math_ops.lgamma(self.total_concentration))
Dstudent_t.py276 math_ops.lgamma(0.5 * self.df) -
277 math_ops.lgamma(0.5 * (self.df + 1.)))
/external/eigen/unsupported/Eigen/src/SpecialFunctions/
DSpecialFunctionsPacketMath.h19 Packet plgamma(const Packet& a) { using numext::lgamma; return lgamma(a); } in plgamma()
DSpecialFunctionsHalf.h15 template<> EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC Eigen::half lgamma(const Eigen::half& a) { in lgamma() function
16 return Eigen::half(Eigen::numext::lgamma(static_cast<float>(a))); in lgamma()
DSpecialFunctionsFunctors.h105 using numext::lgamma; return lgamma(a);
/external/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h124 __DEVICE__ double lgamma(double);
125 __DEVICE__ float lgamma(float);
228 using ::lgamma;
/external/eigen/unsupported/Eigen/src/SpecialFunctions/arch/CUDA/
DCudaSpecialFunctions.h31 using numext::lgamma;
32 return make_double2(lgamma(a.x), lgamma(a.y));
/external/eigen/doc/examples/
DCwise_lgamma.cpp8 std::cout << v.lgamma() << std::endl; in main()
/external/tensorflow/tensorflow/contrib/labeled_tensor/
D__init__.py70 lgamma = _core.lgamma variable
/external/ltp/testcases/misc/math/float/
Dfloat_bessel.c37 {FUNC_GAM, 30, lgamma, "lgamma", "gamma_inp.ref", "gamma_out.ref",
/external/eigen/Eigen/src/Core/
DGlobalFunctions.h69 …EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(lgamma,scalar_lgamma_op,natural logarithm of the gamma function,\…
70 …EIGEN_ARRAY_DECLARE_GLOBAL_UNARY(digamma,scalar_digamma_op,derivative of lgamma,\sa ArrayBase::dig…
/external/eigen/doc/
DCoeffwiseMathFunctionsTable.dox432 a.\link ArrayBase::lgamma lgamma\endlink(); \n
433 \link Eigen::lgamma lgamma\endlink(a);
437 using <a href="http://en.cppreference.com/w/cpp/numeric/math/lgamma">std::lgamma</a>; \cpp11 \n
438 lgamma(a[i]);
489 built-in generic based on\n <a href="#cwisetable_lgamma">\c lgamma </a>,
/external/tensorflow/tensorflow/python/kernel_tests/
Dcwise_ops_unary_test.py223 y, np.vectorize(self._replace_domain_error_with_inf(math.lgamma)),
224 math_ops.lgamma)
273 self._compareBoth(x, np.sign, math_ops.lgamma)
326 y, np.vectorize(self._replace_domain_error_with_inf(math.lgamma)),
327 math_ops.lgamma)
372 y, np.vectorize(self._replace_domain_error_with_inf(math.lgamma)),
373 math_ops.lgamma)
/external/ltp/testcases/misc/math/float/bessel/
Dgenlgamma.c53 tabR[i] = lgamma(1 + Inc * i); in create_Result_file()
/external/eigen/unsupported/Eigen/
DSpecialFunctions30 * - lgamma

1234