
"""simple docstring"""







from abc import ABC, abstractmethod
from typing import Optional, Union

from .. import Dataset, DatasetDict, Features, IterableDataset, IterableDatasetDict, NamedSplit
from ..utils.typing import NestedDataStructureLike, PathLike




class 				A__ (			_lowerCamelCase):

		def __init__(   self ,	_SCREAMING_SNAKE_CASE = None ,	_SCREAMING_SNAKE_CASE = None ,	_SCREAMING_SNAKE_CASE = None ,	_SCREAMING_SNAKE_CASE = None ,	_SCREAMING_SNAKE_CASE = False ,	_SCREAMING_SNAKE_CASE = False ,	_SCREAMING_SNAKE_CASE = None ,	**_SCREAMING_SNAKE_CASE ,	):
			__lowerCAmelCase    :		List[str]		    =   path_or_paths
			__lowerCAmelCase    :		Any		    =   split if split or isinstance(_SCREAMING_SNAKE_CASE ,	_SCREAMING_SNAKE_CASE				) else 'train'
			__lowerCAmelCase    :		int		    =   features
			__lowerCAmelCase    :		str		    =   cache_dir
			__lowerCAmelCase    :		Optional[Any]		    =   keep_in_memory
			__lowerCAmelCase    :		int		    =   streaming
			__lowerCAmelCase    :		Any		    =   num_proc
			__lowerCAmelCase    :		Any		    =   kwargs







		@abstractmethod
		def 							__lowerCamelCase							(   self				):
			pass




class 				A__ (			_lowerCamelCase):

		def __init__(   self ,	_SCREAMING_SNAKE_CASE = None ,	_SCREAMING_SNAKE_CASE = None ,	_SCREAMING_SNAKE_CASE = False ,	_SCREAMING_SNAKE_CASE = False ,	_SCREAMING_SNAKE_CASE = None ,	**_SCREAMING_SNAKE_CASE ,	):
			__lowerCAmelCase    :		Dict		    =   features
			__lowerCAmelCase    :		Any		    =   cache_dir
			__lowerCAmelCase    :		int		    =   keep_in_memory
			__lowerCAmelCase    :		Union[str, Any]		    =   streaming
			__lowerCAmelCase    :		List[str]		    =   num_proc
			__lowerCAmelCase    :		Union[str, Any]		    =   kwargs







		@abstractmethod
		def 							__lowerCamelCase							(   self				):
			pass

"""simple docstring"""







def 					__lowerCAmelCase       (_UpperCamelCase ,						_UpperCamelCase	):

	if density <= 0:
		raise ValueError('Impossible fluid density'	)
	if bulk_modulus <= 0:
		raise ValueError('Impossible bulk modulus'	)

	return (bulk_modulus / density) ** 0.5


if __name__ == "__main__":
							import doctest

							doctest.testmod()