



'''simple docstring'''





import math

from numpy import inf
from scipy.integrate import quad





def 						__snake_case(				_lowerCAmelCase		)		-> Tuple:
      if num <= 0:
            raise ValueError("""math domain error"""		)

      return quad(SCREAMING_SNAKE_CASE_     ,   0     ,   SCREAMING_SNAKE_CASE_     ,   args=(SCREAMING_SNAKE_CASE_)		)[0]





def 						__snake_case(				_lowerCAmelCase     ,   _lowerCAmelCase		)		-> List[Any]:
      return math.pow(SCREAMING_SNAKE_CASE_     ,   z - 1		) * math.exp(-x		)


if __name__ == "__main__":
       from doctest import testmod

       testmod()






from typing import TYPE_CHECKING

from ...utils import _LazyModule


UpperCamelCase__    			=			{"""tokenization_wav2vec2_phoneme""": ["""Wav2Vec2PhonemeCTCTokenizer"""]}


if TYPE_CHECKING:
					from .tokenization_wavaveca_phoneme import WavaVecaPhonemeCTCTokenizer
else:
					import sys

					UpperCamelCase__    			=			_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)




