![]() |
考研的丝瓜 · 千丝万缕忆衣裳 - 古今杂谈 - 华夏经纬网· 6 月前 · |
![]() |
想表白的荒野 · dataframe 某列字段 ...· 6 月前 · |
![]() |
气宇轩昂的紫菜 · “铸剑杯”全国大学生网络安全攻防竞赛在我校举 ...· 6 月前 · |
![]() |
豪情万千的双杠 · 省领导喊话!全面推进地铁S1通寿县!_合肥· 8 月前 · |
jax.debug.print
and
jax.debug.breakpoint
checkify
transformation
shard_map
xmap
jax.checkpoint
(aka
jax.remat
)
jax.numpy
module
jax.scipy
module
jax.lax
module
jax.random
module
jax.sharding
module
jax.debug
module
jax.dlpack
module
jax.distributed
module
jax.dtypes
module
jax.flatten_util
module
jax.image
module
jax.nn
module
jax.nn.initializers
module
jax.ops
module
jax.profiler
module
jax.stages
module
jax.tree
module
jax.tree_util
module
jax.typing
module
jax.export
module
jax.extend
module
jax.extend.ffi
module
jax.extend.linear_util
module
jax.extend.mlir
module
jax.extend.random
module
jax.example_libraries
module
jax.example_libraries.optimizers
module
jax.example_libraries.stax
module
jax.experimental
module
jax.experimental.array_api
module
jax.experimental.checkify
module
jax.experimental.host_callback
module
jax.experimental.maps
module
jax.experimental.pjit
module
jax.experimental.sparse
module
jax.experimental.jet
module
jax.experimental.custom_partitioning
module
jax.experimental.multihost_utils
module
jax.experimental.compilation_cache
module
jax.experimental.key_reuse
module
jax.experimental.mesh_utils
module
jax.experimental.serialize_executable
module
jax.experimental.shard_map
module
jax.experimental.pallas
module
jax.lib
module
The gamma function.
JAX implementation of
scipy.special.gamma
.
The gamma function is defined for \(\Re(z)>0\) as
\[\mathrm{gamma}(z) = \Gamma(z) = \int_0^\infty t^{z-1}e^{-t}\mathrm{d}t\]
and is extended by analytic continuation to arbitrary complex values
z
.
For positive integers
n
, the gamma function is related to the
factorial()
function via the following identity:
x ( ArrayLike ) – arraylike, real valued.
array containing the values of the gamma function
See also
jax.scipy.special.factorial()
: the factorial function.
jax.scipy.special.gammaln()
: the natural log of the gamma function
jax.scipy.special.gammasgn()
: the sign of the gamma function
Notes
Unlike the scipy version, JAX’s
gamma
does not support complex-valued inputs.