numojo.routines.math.exponents¶
Exponential routines for NuMojo (numojo.routines.math.exponents).
Provides element-wise exponential and logarithmic transformations for NDArrays.
Aliases¶
ln¶
Value: log
Functions¶
exp¶
Calculate element-wise euler's constant(e) to the power of NDArray[i].
Parameters:
dtype(DType): The element type.backend(Backend): Sets utility function origin, defaults toVectorized.
Args:
array(NDArray): A NDArray.
Returns:
NDArray
Raises
exp2¶
Calculate element-wise two to the power of NDArray[i].
Parameters:
dtype(DType): The element type.backend(Backend): Sets utility function origin, defaults toVectorized.
Args:
array(NDArray): A NDArray.
Returns:
NDArray
Raises
expm1¶
Calculate element-wise euler's constant(e) to the power of NDArray[i] minus1.
Parameters:
dtype(DType): The element type.backend(Backend): Sets utility function origin, defaults toVectorized.
Args:
array(NDArray): A NDArray.
Returns:
NDArray
Raises
log¶
Element-wise natural logarithm of NDArray.
Parameters:
dtype(DType): The element type.backend(Backend): Sets utility function origin, defaults toVectorized.
Args:
array(NDArray): A NDArray.
Returns:
NDArray
Raises
log2¶
Element-wise logarithm base two of NDArray.
Parameters:
dtype(DType): The element type.backend(Backend): Sets utility function origin, defaults toVectorized.
Args:
array(NDArray): A NDArray.
Returns:
NDArray
Raises
log10¶
Element-wise logarithm base ten of NDArray.
Parameters:
dtype(DType): The element type.backend(Backend): Sets utility function origin, defaults toVectorized.
Args:
array(NDArray): A NDArray.
Returns:
NDArray
Raises
log1p¶
Element-wise natural logarithm of 1 plus NDArray.
Parameters:
dtype(DType): The element type.backend(Backend): Sets utility function origin, defaults toVectorized.
Args:
array(NDArray): A NDArray.
Returns:
NDArray
Raises