|
|
__call__(self,
*x,
**kwds)
EXAMPLES:
sage: M.<x,y,z>=FreeMonoid(3)
sage: (x*y).subs(x=1,y=2,z=14)
2
sage: (x*y).subs({x:z,y:z})
z^2
sage: M1=MatrixSpace(ZZ,1,2)
sage: M2=MatrixSpace(ZZ,2,1)
sage: (x*y).subs({x:M1([1,2]),y:M2([3,4])})
[11]
AUTHOR:
-- Joel B. |
source code
|
|
|
Inherited from structure.element.MonoidElement:
__new__,
__nonzero__,
__pow__,
__rmul__,
__rpow__,
_mul_,
multiplicative_order,
order
Inherited from structure.element.Element:
__eq__,
__ge__,
__gt__,
__hash__,
__le__,
__lt__,
__ne__,
__reduce__,
__rxor__,
__xor__,
_cmp_,
_im_gens_,
_richcmp_,
base_base_extend,
base_base_extend_canonical_sym,
base_extend,
base_extend_canonical,
base_extend_canonical_sym,
base_extend_recursive,
base_ring,
category,
is_zero,
n,
parent,
subs,
substitute
Inherited from structure.sage_object.SageObject:
__repr__,
_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_,
db,
dump,
dumps,
plot,
rename,
reset_name,
save,
version
Inherited from object:
__delattr__,
__getattribute__,
__reduce_ex__,
__setattr__,
__str__
|