




'''simple docstring'''


from math import pow, sqrt
def 						lowerCamelCase__   (				*a							):
						__snake_case						 =   len(a							) > 0 and all(value > 0.0 for value in values							)
						return result
def 						lowerCamelCase__   (				a    ,	a							):
						return (
						    round(sqrt(molar_mass_a / molar_mass_a							)    ,	6							)
						    if validate(a    ,	a							)
						    else ValueError('Input Error: Molar mass values must greater than 0.'							)
						)
def 						lowerCamelCase__   (				a    ,	a    ,	a							):
						return (
						    round(effusion_rate * sqrt(molar_mass_a / molar_mass_a							)    ,	6							)
						    if validate(a    ,	a    ,	a							)
						    else ValueError(
						        'Input Error: Molar mass and effusion rate values must greater than 0.'							)
						)
def 						lowerCamelCase__   (				a    ,	a    ,	a							):
						return (
						    round(effusion_rate / sqrt(molar_mass_a / molar_mass_a							)    ,	6							)
						    if validate(a    ,	a    ,	a							)
						    else ValueError(
						        'Input Error: Molar mass and effusion rate values must greater than 0.'							)
						)
def 						lowerCamelCase__   (				a    ,	a    ,	a							):
						return (
						    round(molar_mass / pow(effusion_rate_a / effusion_rate_a    ,	2							)    ,	6							)
						    if validate(a    ,	a    ,	a							)
						    else ValueError(
						        'Input Error: Molar mass and effusion rate values must greater than 0.'							)
						)






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







'''simple docstring'''


from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


_lowercase  =			{
    """configuration_pegasus_x""": ["""PEGASUS_X_PRETRAINED_CONFIG_ARCHIVE_MAP""", """PegasusXConfig"""],
}

try:
	if not is_torch_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	_lowercase  =			[
	    """PEGASUS_X_PRETRAINED_MODEL_ARCHIVE_LIST""",
	    """PegasusXForConditionalGeneration""",
	    """PegasusXModel""",
	    """PegasusXPreTrainedModel""",
	]


if TYPE_CHECKING:
	from .configuration_pegasus_x import PEGASUS_X_PRETRAINED_CONFIG_ARCHIVE_MAP, PegasusXConfig

	try:
		if not is_torch_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_pegasus_x import (
		    PEGASUS_X_PRETRAINED_MODEL_ARCHIVE_LIST,
		    PegasusXForConditionalGeneration,
		    PegasusXModel,
		    PegasusXPreTrainedModel,
		)


else:
	import sys

	_lowercase  =			_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)

