

from ..utils import DummyObject, requires_backends

class    _lowercase				(					metaclass=__lowerCamelCase			):
   _lowercase     :       Union[str, Any]  					=    ['torch', 'torchsde']

   def __init__(				self	:    List[Any]			,						*lowerCamelCase__	:    int			,						**lowerCamelCase__	:    Optional[Any]       ) ->			Any:
         """simple docstring"""





         requires_backends(self			,						['''torch''', '''torchsde''']       )

   @classmethod
   def     UpperCamelCase					(				cls	:    List[Any]			,						*lowerCamelCase__	:    Dict			,						**lowerCamelCase__	:    Optional[Any]       ) ->			List[Any]:
         """simple docstring"""





         requires_backends(cls			,						['''torch''', '''torchsde''']       )





   @classmethod
   def     UpperCamelCase					(				cls	:    Tuple			,						*lowerCamelCase__	:    Dict			,						**lowerCamelCase__	:    Tuple       ) ->			str:
         """simple docstring"""





         requires_backends(cls			,						['''torch''', '''torchsde''']       )








from __future__ import annotations







def 							_lowerCamelCase   (			SCREAMING_SNAKE_CASE		,				SCREAMING_SNAKE_CASE = None		,				SCREAMING_SNAKE_CASE = None   ):
      '''simple docstring'''







      if start is None:
            A_							       =		0

      if end is None:
            A_							       =		len(SCREAMING_SNAKE_CASE   ) - 1

      if start >= end:
            return

      A_							       =		(start + end) // 2

      slowsort(SCREAMING_SNAKE_CASE		,				SCREAMING_SNAKE_CASE		,				SCREAMING_SNAKE_CASE   )
      slowsort(SCREAMING_SNAKE_CASE		,				mid + 1		,				SCREAMING_SNAKE_CASE   )

      if sequence[end] < sequence[mid]:
            A_       ,A_							       =		sequence[mid], sequence[end]

      slowsort(SCREAMING_SNAKE_CASE		,				SCREAMING_SNAKE_CASE		,				end - 1   )


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

      testmod()





