Changeset 7553:1065b01a711e


Ignore:
Timestamp:
12/05/07 18:48:52 (5 years ago)
Author:
Mike Hansen <mhansen@…>
Branch:
default
Message:

Fixed #1243.

Location:
sage
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • sage/misc/misc.py

    r7351 r7553  
    826826        [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20] 
    827827       
    828       Sometimes one or more ranges is emtpy. 
     828      Sometimes one or more ranges is empty. 
    829829        sage: ellipsis_range(100,Ellipsis,10,Ellipsis,20,step=2) 
    830830        [10, 12, 14, 16, 18, 20] 
     
    12331233 
    12341234    The following example is similar to one in the MAGMA handbook.  We 
    1235     check whether certain integers are a some of two (small) cubes: 
     1235    check whether certain integers are a sum of two (small) cubes: 
    12361236 
    12371237        sage: cubes = [t**3 for t in range(-10,11)] 
     
    14331433        sage: v = [1,2,3] 
    14341434 
    1435     The following use to fail in SAGE <= 1.3.7.  Now it works fine: 
     1435    The following used to fail in SAGE <= 1.3.7.  Now it works fine: 
    14361436        sage: v[ZZ(1)]           
    14371437        2 
  • sage/rings/polynomial/polynomial_element.pyx

    r7541 r7553  
    914914         
    915915    def _pow(self, right): 
    916         # TODO: fit __pow__ into the arithmatic structure 
     916        # TODO: fit __pow__ into the arithmetic structure 
    917917        if self.degree() <= 0: 
    918918            return self.parent()(self[0]**right) 
  • sage/schemes/elliptic_curves/ell_point.py

    r5945 r7553  
    641641def make_point(X, v): 
    642642    # TODO: Unpickled parents with base sometimes have thier base set to None. 
    643     # This causes a segfault in the module arithmatic architecture.  
     643    # This causes a segfault in the module arithmetic architecture.  
    644644    # 
    645645    # sage: H = HomsetWithBase(QQ, RR, base=ZZ); H 
  • sage/structure/coerce.pxi

    r7241 r7553  
    7272 
    7373################################################################################# 
    74 # Inline arithmatic dispatchers for ModuleElements and RingElements 
     74# Inline arithmetic dispatchers for ModuleElements and RingElements 
    7575################################################################################# 
    7676 
     
    145145 
    146146cdef enum: 
    147     # 3 references: handle, scope container, and arithmatic call stack 
     147    # 3 references: handle, scope container, and arithmetic call stack 
    148148    inplace_threshold = 0 
    149149     
  • sage/structure/coerce.pyx

    r7525 r7553  
    519519    We can read of this data that the most expensive operation was the creation  
    520520    of the action of $\Q$ on $\Z[x]$ (whose result lies in $\Q[x]$. This has 
    521     been cached as illistrated below.  
     521    been cached as illustrated below.  
    522522     
    523523        sage: coerce.flush() 
  • sage/structure/element.pyx

    r7454 r7553  
    153153 
    154154 
    155 For speed, there are also {\bf inplace} version of the arithmatic commands.  
     155For speed, there are also {\bf inplace} version of the arithmetic commands.  
    156156DD NOT call them directly, they may mutate the object and will be called  
    157157when and only when it has been determined that the old object will no longer  
  • sage/structure/parent_base.pyx

    r6606 r7553  
    1010 
    1111# TODO: Unpickled parents with base sometimes have thier base set to None. 
    12 # This causes a segfault in the module arithmatic architecture.  
     12# This causes a segfault in the module arithmetic architecture.  
    1313# 
    1414# sage: H = HomsetWithBase(QQ, RR, base=ZZ); H 
Note: See TracChangeset for help on using the changeset viewer.