Ignore:
Timestamp:
05/19/09 16:11:30 (4 years ago)
Author:
Mike Hansen <mhansen@…>
Branch:
default
Message:

Updates for Pynac-0.1.7, main symbolics switch (#5930)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/rings/polynomial/polynomial_ring.py

    r12089 r12287  
    763763        return self.__generator 
    764764 
     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         
    765779    def parameter(self): 
    766780        """ 
Note: See TracChangeset for help on using the changeset viewer.