
from math import cos, sin



def 	_a  (					__SCREAMING_SNAKE_CASE					:  float    ):






  """simple docstring"""




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



def 	_a  (					__SCREAMING_SNAKE_CASE					:  float    ):






  """simple docstring"""




  _lowerCAmelCase	,       _lowerCAmelCase						=		cos(__SCREAMING_SNAKE_CASE    ), sin(__SCREAMING_SNAKE_CASE    )
  return [[c, -s], [s, c]]



def 	_a  (					__SCREAMING_SNAKE_CASE					:  float    ):






  """simple docstring"""




  _lowerCAmelCase	,       _lowerCAmelCase						=		cos(__SCREAMING_SNAKE_CASE    ), sin(__SCREAMING_SNAKE_CASE    )
  _lowerCAmelCase						=		c * s
  return [[c * c, cs], [cs, s * s]]



def 	_a  (					__SCREAMING_SNAKE_CASE					:  float    ):






  """simple docstring"""




  _lowerCAmelCase	,       _lowerCAmelCase						=		cos(__SCREAMING_SNAKE_CASE    ), sin(__SCREAMING_SNAKE_CASE    )
  _lowerCAmelCase						=		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) = }")







from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


snake_case__   :				Dict						=	{
    'configuration_videomae': ['VIDEOMAE_PRETRAINED_CONFIG_ARCHIVE_MAP', 'VideoMAEConfig'],
}

try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       snake_case__   :				Any						=	[
           'VIDEOMAE_PRETRAINED_MODEL_ARCHIVE_LIST',
           'VideoMAEForPreTraining',
           'VideoMAEModel',
           'VideoMAEPreTrainedModel',
           'VideoMAEForVideoClassification',
       ]

try:
       if not is_vision_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       snake_case__   :				str						=	['VideoMAEFeatureExtractor']
       snake_case__   :				Tuple						=	['VideoMAEImageProcessor']

if TYPE_CHECKING:
       from .configuration_videomae import VIDEOMAE_PRETRAINED_CONFIG_ARCHIVE_MAP, VideoMAEConfig

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_videomae import (
                  VIDEOMAE_PRETRAINED_MODEL_ARCHIVE_LIST,
                  VideoMAEForPreTraining,
                  VideoMAEForVideoClassification,
                  VideoMAEModel,
                  VideoMAEPreTrainedModel,
              )

       try:
              if not is_vision_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .feature_extraction_videomae import VideoMAEFeatureExtractor
              from .image_processing_videomae import VideoMAEImageProcessor

else:
       import sys

       snake_case__   :				Optional[Any]						=	_LazyModule(__name__, globals()['__file__'], _import_structure, module_spec=__spec__)





