
'''simple docstring'''


from ..utils import DummyObject, requires_backends

class 	__lowercase				(  metaclass=_lowercase    ):
			lowerCamelCase			:		Optional[Any]	      =			["torch", "torchsde"]

			def __init__(self			,   *A			,   **A      ):
								requires_backends(self			,   ['''torch''', '''torchsde''']      )

			@classmethod
			def        UpperCAmelCase__ (cls			,   *A			,   **A      ):
								requires_backends(cls			,   ['''torch''', '''torchsde''']      )






			@classmethod
			def        UpperCAmelCase__ (cls			,   *A			,   **A      ):
								requires_backends(cls			,   ['''torch''', '''torchsde''']      )




'''simple docstring'''


def lowercase_	(   _lowercase			,       _lowercase				)     ->							Dict:
					'''simple docstring'''

					lowerCamelCase_					:      List[Any]     =		0
					while b > 0:
										if b & 1:
															res += a

										a += a
										b >>= 1

					return res




def lowercase_	(   _lowercase			,       _lowercase			,       _lowercase				)     ->							Optional[Any]:
					'''simple docstring'''

					lowerCamelCase_					:      str     =		0
					while b > 0:
										if b & 1:
															lowerCamelCase_					:      Optional[int]     =		((res % c) + (a % c)) % c

										a += a
										b >>= 1

					return res


