


"""simple docstring"""







import numpy as np
def 					a__			(				SCREAMING_SNAKE_CASE    :    np.ndarray				,      SCREAMING_SNAKE_CASE    :    float				):


  '''simple docstring'''







  return np.where(vector > 0				,      _lowerCamelCase				,      (alpha * (np.exp(_lowerCamelCase				) - 1))				)


if __name__ == "__main__":
     import doctest

     doctest.testmod()













"""simple docstring"""





from math import pow, sqrt







def      lowerCamelCase__       (							*_lowerCamelCase       :		float )      ->				bool:
  lowerCamelCase_         =						len(_lowerCamelCase ) > 0 and all(value > 0.0 for value in values )
  return result







def      lowerCamelCase__       (							_lowerCamelCase       :		float		,				_lowerCamelCase       :		float )      ->				float | ValueError:
  return (
      round(sqrt(molar_mass_a / molar_mass_a )		,				6 )
      if validate(_lowerCamelCase		,				_lowerCamelCase )
      else ValueError('Input Error: Molar mass values must greater than 0.' )
  )







def      lowerCamelCase__       (							_lowerCamelCase       :		float		,				_lowerCamelCase       :		float		,				_lowerCamelCase       :		float )      ->				float | ValueError:
  return (
      round(effusion_rate * sqrt(molar_mass_a / molar_mass_a )		,				6 )
      if validate(_lowerCamelCase		,				_lowerCamelCase		,				_lowerCamelCase )
      else ValueError(
          'Input Error: Molar mass and effusion rate values must greater than 0.' )
  )







def      lowerCamelCase__       (							_lowerCamelCase       :		float		,				_lowerCamelCase       :		float		,				_lowerCamelCase       :		float )      ->				float | ValueError:
  return (
      round(effusion_rate / sqrt(molar_mass_a / molar_mass_a )		,				6 )
      if validate(_lowerCamelCase		,				_lowerCamelCase		,				_lowerCamelCase )
      else ValueError(
          'Input Error: Molar mass and effusion rate values must greater than 0.' )
  )







def      lowerCamelCase__       (							_lowerCamelCase       :		float		,				_lowerCamelCase       :		float		,				_lowerCamelCase       :		float )      ->				float | ValueError:
  return (
      round(molar_mass / pow(effusion_rate_a / effusion_rate_a		,				2 )		,				6 )
      if validate(_lowerCamelCase		,				_lowerCamelCase		,				_lowerCamelCase )
      else ValueError(
          'Input Error: Molar mass and effusion rate values must greater than 0.' )
  )







def      lowerCamelCase__       (							_lowerCamelCase       :		float		,				_lowerCamelCase       :		float		,				_lowerCamelCase       :		float )      ->				float | ValueError:
  return (
      round(pow(effusion_rate_a / effusion_rate_a		,				2 ) / molar_mass		,				6 )
      if validate(_lowerCamelCase		,				_lowerCamelCase		,				_lowerCamelCase )
      else ValueError(
          'Input Error: Molar mass and effusion rate values must greater than 0.' )
  )




