# 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)

# 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

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

diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/con_field.py
 a AUTHORS: - Marco Streng (2010-08-07) - Marco Streng (2010-07-20) - Nick Alexander (2008-01-08) """ return self.symmetric_matrix().determinant() det = determinant def diagonal_matrix(self): r""" Returns a diagonal matrix D and a matrix T such that T^t A T = D return True, self.point(pt) return False, None D = self.symmetric_matrix() if D.det() == 0: if D.determinant() == 0: return True, self.point(Sequence(D.right_kernel().gen())) return False, None
• ## sage/schemes/plane_conics/con_finite_field.py

diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/con_finite_field.py
 a AUTHORS: - Marco Streng (2010-08-07) - Nick Alexander (2008-01-08) - Marco Streng (2010-07-20) """ #***************************************************************************** #       Copyright (C) 2008 Nick Alexander #       Copyright (C) 2009 Marco Streng #       Copyright (C) 2009/2010 Marco Streng # #  Distributed under the terms of the GNU General Public License (GPL) #
• ## sage/schemes/plane_conics/con_number_field.py

diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/con_number_field.py
 a AUTHORS: - Marco Streng (2010-08-07) - Nick Alexander (2008-01-08) - Marco Streng (2010-07-20) """ #***************************************************************************** #       Copyright (C) 2008 Nick Alexander #       Copyright (C) 2009 Marco Streng #       Copyright (C) 2009/2010 Marco Streng # #  Distributed under the terms of the GNU General Public License (GPL) # defined over its base field B. If point and obstruction are both False (default), then the output is boolean out saying whether self then the output is a boolean out saying whether self has a rational point. 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 AUTHORS: - Marco Streng (2010-08-07) - Marco Streng (2010-07-20) """
• ## sage/schemes/plane_conics/con_rational_field.py

diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/con_rational_field.py
 a AUTHORS: - Marco Streng (2010-08-07) - Marco Streng (2010-07-20) - Nick Alexander (2008-01-08) r""" Returns True if and only if self has a point defined over \QQ. If point and obstruction are both False, then the output is a boolean out saying whether self has a rational point. If point and obstruction are both False (default), then the output is a boolean out saying whether self has a rational point. If point or obstruction is True, then the output is 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 AUTHORS: - Marco Streng (2010-08-07) - Marco Streng (2010-07-20) - Nick Alexander (2008-01-08)
• ## sage/schemes/plane_conics/rnfisnorm.py

diff -r bef2254f965d -r 722eec9fd493 sage/schemes/plane_conics/rnfisnorm.py
 a AUTHORS: - Marco Streng (2009-08-07) - Marco Streng (2010-07-20) """ #***************************************************************************** #       Copyright (C) 2009 Marco Streng #       Copyright (C) 2009/2010 Marco Streng # #  Distributed under the terms of the GNU General Public License (GPL) #