Changeset 12287:d7533ae4895e for sage/rings/polynomial/polynomial_ring.py
- Timestamp:
- 05/19/09 16:11:30 (4 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
sage/rings/polynomial/polynomial_ring.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sage/rings/polynomial/polynomial_ring.py
r12089 r12287 763 763 return self.__generator 764 764 765 def gens_dict(self): 766 """ 767 Returns a dictionary whose keys are the variable names of this 768 ring as strings and whose values are the corresponding 769 generators. 770 771 EXAMPLES:: 772 773 sage: R.<x> = RR[] 774 sage: R.gens_dict() 775 {'x': 1.00000000000000*x} 776 """ 777 return dict(zip(self.variable_names(), self.gens())) 778 765 779 def parameter(self): 766 780 """
Note: See TracChangeset
for help on using the changeset viewer.
