Package sage :: Package categories :: Module action :: Class InverseAction
[hide private]
[frames] | no frames]

Class InverseAction



                      object --+            
                               |            
structure.sage_object.SageObject --+        
                                   |        
                     functor.Functor --+    
                                       |    
                                  Action --+
                                           |
                                          InverseAction

File: sage/categories/action.pyx (starting at line 127)

An action that acts as the inverse of the given action.

TESTS:
This illustrates a shortcoming in the current coercion model.
See the comments in _call_c below. 

    sage: x = polygen(QQ,'x')
    sage: a = 2*x^2+2; a
    2*x^2 + 2
    sage: a / 2
    x^2 + 1
    sage: a /= 2
    sage: a
    x^2 + 1



Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__invert__(...)
File: sage/categories/action.pyx (starting at line 168)
 
__new__(T, S, ...)
 
_repr_name_(...)
File: sage/categories/action.pyx (starting at line 171)

Inherited from Action: __call__, __repr__, _call_, act, actor, codomain, domain, is_left, left_domain, right_domain

Inherited from Action (private): _apply_functor

Inherited from structure.sage_object.SageObject: __hash__, _axiom_, _axiom_init_, _gap_, _gap_init_, _gp_, _gp_init_, _interface_, _interface_init_, _interface_is_cached_, _kash_, _kash_init_, _macaulay2_, _macaulay2_init_, _magma_, _magma_init_, _maple_, _maple_init_, _mathematica_, _mathematica_init_, _maxima_, _maxima_init_, _octave_, _octave_init_, _pari_, _pari_init_, _r_init_, _sage_, _singular_, _singular_init_, category, db, dump, dumps, plot, rename, reset_name, save, version

Inherited from object: __delattr__, __getattribute__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: Action.__init__

__invert__(...)

 
File: sage/categories/action.pyx (starting at line 168)

Overrides: Action.__invert__

__new__(T, S, ...)

 


Returns:
a new object with type S, a subtype of T

Overrides: Action.__new__

_repr_name_(...)

 
File: sage/categories/action.pyx (starting at line 171)

Overrides: Action._repr_name_