Ticket #727: trac_727_more_conic_files9.patch

File trac_727_more_conic_files9.patch, 6.0 KB (added by Marco Streng, 12 years ago)

apply after 7 (there is no 8)

  • doc/en/reference/quadratic_forms.rst

    # HG changeset patch
    # User Marco Streng <marco.streng@gmail.com>
    # Date 1279628625 25200
    # Node ID 722eec9fd4932a080fcab95be4b8366ae42478ed
    # Parent  bef2254f965dc2dc0eff004095b3c7c80d0a9d86
    Trac
    
    diff -r bef2254f965d -r 722eec9fd493 doc/en/reference/quadratic_forms.rst
    a b  
    66.. toctree::
    77   :maxdepth: 2
    88
    9     sage/quadratic_forms/qfsolve
     9   sage/quadratic_forms/qfsolve
    1010
  • sage/quadratic_forms/qfsolve.py

    diff -r bef2254f965d -r 722eec9fd493 sage/quadratic_forms/qfsolve.py
    a b  
    6565    `n \times n`-matrix ``G`` over `\QQ`.
    6666
    6767    If a solution exists, returns a tuple of rational numbers `x`.
    68     Otherwise, returns `-1` if no solutions exists over the reals and a
     68    Otherwise, returns `-1` if no solutions exists over the reals or a
    6969    prime `p` if no solution exists over the `p`-adic field `\QQ_p`.
    7070
    7171    EXAMPLES::
  • sage/schemes/plane_conics/con_field.py

    diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/con_field.py
    a b  
    33
    44AUTHORS:
    55
    6 - Marco Streng (2010-08-07)
     6- Marco Streng (2010-07-20)
    77
    88- Nick Alexander (2008-01-08)
    99
     
    238238        """
    239239        return self.symmetric_matrix().determinant()
    240240
    241     det = determinant
    242 
    243241    def diagonal_matrix(self):
    244242        r"""
    245243        Returns a diagonal matrix `D` and a matrix `T` such that `T^t A T = D`
     
    487485                return True, self.point(pt)
    488486            return False, None
    489487        D = self.symmetric_matrix()
    490         if D.det() == 0:
     488        if D.determinant() == 0:
    491489            return True, self.point(Sequence(D.right_kernel().gen()))
    492490        return False, None
    493491
  • sage/schemes/plane_conics/con_finite_field.py

    diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/con_finite_field.py
    a b  
    33
    44AUTHORS:
    55
    6 - Marco Streng (2010-08-07)
    7 
    8 - Nick Alexander (2008-01-08)
     6- Marco Streng (2010-07-20)
    97
    108"""
    119#*****************************************************************************
    12 #       Copyright (C) 2008 Nick Alexander <ncalexander@gmail.com>
    13 #       Copyright (C) 2009 Marco Streng <marco.streng@gmail.com>
     10#       Copyright (C) 2009/2010 Marco Streng <marco.streng@gmail.com>
    1411#
    1512#  Distributed under the terms of the GNU General Public License (GPL)
    1613#
  • sage/schemes/plane_conics/con_number_field.py

    diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/con_number_field.py
    a b  
    33
    44AUTHORS:
    55
    6 - Marco Streng (2010-08-07)
    7 
    8 - Nick Alexander (2008-01-08)
     6- Marco Streng (2010-07-20)
    97
    108"""
    119#*****************************************************************************
    12 #       Copyright (C) 2008 Nick Alexander <ncalexander@gmail.com>
    13 #       Copyright (C) 2009 Marco Streng <marco.streng@gmail.com>
     10#       Copyright (C) 2009/2010 Marco Streng <marco.streng@gmail.com>
    1411#
    1512#  Distributed under the terms of the GNU General Public License (GPL)
    1613#
     
    7269        defined over its base field `B`.
    7370
    7471        If ``point`` and ``obstruction`` are both False (default),
    75         then the output is boolean ``out`` saying whether ``self``
     72        then the output is a boolean ``out`` saying whether ``self``
    7673        has a rational point.
    7774
    7875        If ``point`` or ``obstruction`` is True, then the output is
  • sage/schemes/plane_conics/con_prime_finite_field.py

    diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/con_prime_finite_field.py
    a b  
    33
    44AUTHORS:
    55
    6 - Marco Streng (2010-08-07)
     6- Marco Streng (2010-07-20)
    77
    88
    99"""
  • sage/schemes/plane_conics/con_rational_field.py

    diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/con_rational_field.py
    a b  
    33
    44AUTHORS:
    55
    6 - Marco Streng (2010-08-07)
     6- Marco Streng (2010-07-20)
    77
    88- Nick Alexander (2008-01-08)
    99
     
    7070        r"""
    7171        Returns True if and only if ``self`` has a point defined over `\QQ`.
    7272
    73         If ``point`` and ``obstruction`` are both False, then the output
    74         is a boolean ``out`` saying whether ``self`` has a rational point.
     73        If ``point`` and ``obstruction`` are both False (default), then
     74        the output is a boolean ``out`` saying whether ``self`` has a
     75        rational point.
    7576
    7677        If ``point`` or ``obstruction`` is True, then the output is
    7778        a pair ``(out, S)``, where ``out`` is as above and the following
  • sage/schemes/plane_conics/constructor.py

    diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/constructor.py
    a b  
    33
    44AUTHORS:
    55
    6 - Marco Streng (2010-08-07)
     6- Marco Streng (2010-07-20)
    77
    88- Nick Alexander (2008-01-08)
    99
  • sage/schemes/plane_conics/rnfisnorm.py

    diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/rnfisnorm.py
    a b  
    88
    99AUTHORS:
    1010
    11 - Marco Streng (2009-08-07)
     11 - Marco Streng (2010-07-20)
    1212
    1313"""
    1414#*****************************************************************************
    15 #       Copyright (C) 2009 Marco Streng <marco.streng@gmail.com>
     15#       Copyright (C) 2009/2010 Marco Streng <marco.streng@gmail.com>
    1616#
    1717#  Distributed under the terms of the GNU General Public License (GPL)
    1818#