

'''simple docstring'''



import math

from numpy import inf
from scipy.integrate import quad


def       snake_case   (	snake_case      : float			) ->  float:


    """simple docstring"""


    if num <= 0:
        raise ValueError('math domain error'			)

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


def       snake_case   (	snake_case      : float					,		snake_case      : float			) ->  float:


    """simple docstring"""


    return math.pow(snake_case					,		z - 1			) * math.exp(-x			)


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

     testmod()








'''simple docstring'''



from dataclasses import dataclass
from typing import List, Optional, Union

import numpy as np
import torch

from ...utils import BaseOutput, OptionalDependencyNotAvailable, is_torch_available, is_transformers_available



@dataclass
class 				_snake_case					(   a_			):
  SCREAMING_SNAKE_CASE			:       Union[List[np.ndarray], torch.FloatTensor]


try:
     if not (is_transformers_available() and is_torch_available()):
          raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
     from ...utils.dummy_torch_and_transformers_objects import *  # noqa F403
else:
     from .pipeline_text_to_video_synth import TextToVideoSDPipeline
     from .pipeline_text_to_video_synth_imgaimg import VideoToVideoSDPipeline  # noqa: F401
     from .pipeline_text_to_video_zero import TextToVideoZeroPipeline





