mm.math.lgamma¶
- math.lgamma()¶
The natural logarithm of the gamma function of
x
.- Parameters:
x (
ndarray
[Tuple
[int
,...
],Union
[TypeVar
(R
,float16
,float32
,float64
),TypeVar
(C
,complex64
,complex128
),TypeVar
(Z
,int16
,int32
,int64
),TypeVar
(N
,uint16
,uint32
,uint64
)]]) – The array to take the natural logarithm of the gamma function of- Return type:
ndarray
[Tuple
[int
,...
],Union
[TypeVar
(R
,float16
,float32
,float64
),TypeVar
(C
,complex64
,complex128
),TypeVar
(Z
,int16
,int32
,int64
),TypeVar
(N
,uint16
,uint32
,uint64
)]]- Returns:
The natural logarithm of the gamma function of
x
code/api/mrmustard.math.lgamma
Download Python script
Download Notebook
View on GitHub