Environment to perform calculations of equivariant vector bundles on homogeneous varieties
Equivariant_Vector_Bundles_On_Homogeneous_Varieties__0-2 / src / Equivariant_Vector_Bundles_On_Homogeneous_Varieties / Foundation / __pycache__ / Structure.cpython-311.pyc
1842 viewsLicense: GPL3
ubuntu2204
� J�]fY � �� � d dl T ed� � Z ed � � Z ed� � Zd dlmZ G d� de� � Z G d� de� � Z G d � d e� � Z G d� de� � Zd S )� )�*� � )�Iteratorc �~ � e Zd Zdd defd�Zdepedd fd�Zdd defd�Z defd�Z defd�Zdefd �Zdefd �Z defd�ZdS ) � Structure�other�returnc � � t || j � � r.| � � � |� � � k rdS dS dS )z<Tests if two objects of the same class and if they coincide.TF)� isinstance� __class__�__repr__��selfr s ��/home/user/Equivariant_Vector_Bundles_On_Homogeneous_Varieties__0-2/src/Equivariant_Vector_Bundles_On_Homogeneous_Varieties/Foundation/Structure.py�__eq__zStructure.__eq__ sA � ��u�t�~�/�/� ��}�}���%�.�.�"2�"2�2�2�D�D��%��e� �Inputc � � |t v r�|}|t | � � t z k rdS |t t | � � t t � � v r|t | � � z }n-|t t t t | � � � � v rndS | � � � | }|S t |t � � rr|}| � � � | }t |� � t k rdS t |� � t k r|t }|S | � |� � S t d� � �)z)Returns a single datum or slices of data.Nz(The variable ``Input`` is inappropriate.)�ZZ�len� _sage_const_1�ellipsis_range�Ellipsis� _sage_const_0�Constituent_Partsr �slicer � ValueError)r r �Index�Single_Part�Slice�New_Constituent_Partss r �__getitem__zStructure.__getitem__ s6 � ��B�;�;��E��3�t�9�9�*�]�2�2�2�T�T��>�C��I�I�:�x�-��R�R�S�S�V[�_b�cg�_h�_h�Vh�V[�V[��>�=�8�S��Y�Y�P�P�Q�Q�VZ�8<���0�0�2�2�5�9�K��� ��� (� (� I��E�$(�$:�$:�$<�$<�U�$C�!��*�+�+�}�<�<��t��*�+�+�}�<�<�3�M�C��"�"��~�~�'<�>�>�>� �G�H�H�Hr c � � | |k S )z%Tests if two objects do not coincide.� r s r �__ne__zStructure.__ne__- s � ��5�=� � r c �2 � t | � � t k S )z)Tests if ``self`` is irreducible/ simple.)r r �r s r �Is_IrreduciblezStructure.Is_Irreducible2 � � ��4�y�y�M�)�)r c �, � | � � � S )z!Tests if ``self`` is not trivial.)� Is_Trivialr( s r �Is_Not_TrivialzStructure.Is_Not_Trivial7 s � ��?�?�$�$�$�$r c �, � | � � � S )zrTests if ``self`` is reducible/ non-simple, i.e. it is trivial/ zero or consists of multiple summands/ components.�r) r( s r �Is_ReduciblezStructure.Is_Reducible<