
"""simple docstring"""




from math import cos, sin

def __snake_case (      UpperCamelCase    )       ->    Tuple:


		"""simple docstring"""





		a__   		=     float(SCREAMING_SNAKE_CASE_    )
		return [[scaling_factor * int(x == y    ) for x in range(2    )] for y in range(2    )]

def __snake_case (      UpperCamelCase    )       ->    Tuple:


		"""simple docstring"""





		a__		,	a__   		=     cos(SCREAMING_SNAKE_CASE_    ), sin(SCREAMING_SNAKE_CASE_    )
		return [[c, -s], [s, c]]

def __snake_case (      UpperCamelCase    )       ->    Union[str, Any]:


		"""simple docstring"""





		a__		,	a__   		=     cos(SCREAMING_SNAKE_CASE_    ), sin(SCREAMING_SNAKE_CASE_    )
		a__   		=     c * s
		return [[c * c, cs], [cs, s * s]]

def __snake_case (      UpperCamelCase    )       ->    Tuple:


		"""simple docstring"""





		a__		,	a__   		=     cos(SCREAMING_SNAKE_CASE_    ), sin(SCREAMING_SNAKE_CASE_    )
		a__   		=     c * s
		return [[2 * c - 1, 2 * cs], [2 * cs, 2 * s - 1]]


print(f"    {scaling(5) = }")
print(f"  {rotation(45) = }")
print(f"{projection(45) = }")




print(f"{reflection(45) = }")






"""simple docstring"""




from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


snake_case					  =						{'configuration_qdqbert': ['QDQBERT_PRETRAINED_CONFIG_ARCHIVE_MAP', 'QDQBertConfig']}

try:
	if not is_torch_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	snake_case					  =						[
	    'QDQBERT_PRETRAINED_MODEL_ARCHIVE_LIST',
	    'QDQBertForMaskedLM',
	    'QDQBertForMultipleChoice',
	    'QDQBertForNextSentencePrediction',
	    'QDQBertForQuestionAnswering',
	    'QDQBertForSequenceClassification',
	    'QDQBertForTokenClassification',
	    'QDQBertLayer',
	    'QDQBertLMHeadModel',
	    'QDQBertModel',
	    'QDQBertPreTrainedModel',
	    'load_tf_weights_in_qdqbert',
	]


if TYPE_CHECKING:
	from .configuration_qdqbert import QDQBERT_PRETRAINED_CONFIG_ARCHIVE_MAP, QDQBertConfig

	try:
		if not is_torch_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_qdqbert import (
		    QDQBERT_PRETRAINED_MODEL_ARCHIVE_LIST,
		    QDQBertForMaskedLM,
		    QDQBertForMultipleChoice,
		    QDQBertForNextSentencePrediction,
		    QDQBertForQuestionAnswering,
		    QDQBertForSequenceClassification,
		    QDQBertForTokenClassification,
		    QDQBertLayer,
		    QDQBertLMHeadModel,
		    QDQBertModel,
		    QDQBertPreTrainedModel,
		    load_tf_weights_in_qdqbert,
		)


else:
	import sys

	snake_case					  =						_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)
