






'''simple docstring'''






from ..utils import DummyObject, requires_backends




class a_    (    metaclass=snake_case__							):
   _snake_case        =							["""torch""", """transformers""", """onnx"""]







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






      requires_backends(self					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      Optional[int]:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      Optional[Any]:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])




class a_    (    metaclass=snake_case__							):
   _snake_case        =							["""torch""", """transformers""", """onnx"""]







   def __init__(self					,   *__a					,   **__a)			->      int:
      """simple docstring"""






      requires_backends(self					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      List[Any]:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      List[str]:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])




class a_    (    metaclass=snake_case__							):
   _snake_case        =							["""torch""", """transformers""", """onnx"""]







   def __init__(self					,   *__a					,   **__a)			->      str:
      """simple docstring"""






      requires_backends(self					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      List[str]:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      Union[str, Any]:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])




class a_    (    metaclass=snake_case__							):
   _snake_case        =							["""torch""", """transformers""", """onnx"""]







   def __init__(self					,   *__a					,   **__a)			->      Tuple:
      """simple docstring"""






      requires_backends(self					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      Tuple:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      Optional[Any]:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])




class a_    (    metaclass=snake_case__							):
   _snake_case        =							["""torch""", """transformers""", """onnx"""]







   def __init__(self					,   *__a					,   **__a)			->      Tuple:
      """simple docstring"""






      requires_backends(self					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      Dict:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      List[Any]:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])




class a_    (    metaclass=snake_case__							):
   _snake_case        =							["""torch""", """transformers""", """onnx"""]







   def __init__(self					,   *__a					,   **__a)			->      Any:
      """simple docstring"""






      requires_backends(self					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      Tuple:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])







   @classmethod
   def     SCREAMING_SNAKE_CASE__					(cls					,   *__a					,   **__a)			->      Any:
      """simple docstring"""






      requires_backends(cls					,   ['torch', 'transformers', 'onnx'])







'''simple docstring'''






def        _SCREAMING_SNAKE_CASE  (				A  :       float  ,		A  :       list[float]  )    -> float:







   """simple docstring"""
   if discount_rate < 0:
      raise ValueError('Discount rate cannot be negative'  )
   if not cash_flows:
      raise ValueError('Cash flows list cannot be empty'  )
   __snake_case				:      List[str]     							= sum(
       cash_flow / ((1 + discount_rate) ** i) for i, cash_flow in enumerate(A  )  )
   return round(A  ,		ndigits=2  )


if __name__ == "__main__":
      import doctest

      doctest.testmod()