Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
modified copyright banner
Browse files Browse the repository at this point in the history
  • Loading branch information
arpitdm committed Aug 4, 2016
1 parent f563aba commit 26e4689
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
17 changes: 10 additions & 7 deletions src/sage/rings/polynomial/skew_polynomial_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,23 @@ along with :class:`~sage.rings.polynomial.skew_polynomial_element.ConstantSkewPo
and :class:`~sage.rings.polynomial.skew_polynomial_element.SkewPolynomialBaseringInjection`
for conversion from a skew polynomial ring to its base ring and vice versa respectively.
AUTHOR:
AUTHORS:
- Xavier Caruso (2012-06-29): initial version
- Arpit Merchant (2016-08-04): improved docstrings, fixed doctests and refactored classes and methods
- Johan Nielson (2016-08-03): changes for bug fixes, docstring and doctest errors
- Johan Rosenkilde (2016-08-03): changes for bug fixes, docstring and doctest errors
"""

#############################################################################
# Copyright (C) 2012 Xavier Caruso <xavier.caruso@normalesup.org>
#
# Distributed under the terms of the GNU General Public License (GPL)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
# http://www.gnu.org/licenses/
#****************************************************************************

Expand Down Expand Up @@ -296,8 +299,8 @@ cdef class SkewPolynomial(AlgebraElement):
sage: a < b
False
"""
cdef list x = (<SkewPolynomial>left)._coeffs
cdef list y = (<SkewPolynomial>right)._coeffs
cdef x = (<SkewPolynomial>left)._coeffs
cdef y = (<SkewPolynomial>right)._coeffs
return PyObject_RichCompare(x, y, op)

cdef SkewPolynomial _new_c(self, list coeffs, Parent P, char check=0):
Expand Down Expand Up @@ -2754,7 +2757,7 @@ cdef class SkewPolynomial_generic_dense(SkewPolynomial):
r = <SkewPolynomial_generic_dense>self._parent(v)
else:
r = <SkewPolynomial_generic_dense>self._new_c(list(self._coeffs),self._parent)
r = r**exp
r._inplace_pow(exp)

if modulus:
_, r = r.left_quo_rem(modulus)
Expand Down
9 changes: 6 additions & 3 deletions src/sage/rings/polynomial/skew_polynomial_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@
- Arpit Merchant (2016-08-04): improved docstrings, fixed doctests and refactored classes and methods
- Johan Nielson (2016-08-03): changes for bug fixes, docstring and doctest errors
- Johan Rosenkilde (2016-08-03): changes for bug fixes, docstring and doctest errors
"""

#############################################################################
# Copyright (C) 2012 Xavier Caruso <xavier.caruso@normalesup.org>
#
# Distributed under the terms of the GNU General Public License (GPL)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
# http://www.gnu.org/licenses/
#****************************************************************************

Expand Down
9 changes: 6 additions & 3 deletions src/sage/rings/polynomial/skew_polynomial_ring_constructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@
- Arpit Merchant (2016-08-04): improved docstrings, added doctests and refactored method
- Johan Nielson (2016-08-03): changes to import format
- Johan Rosenkilde (2016-08-03): changes to import format
"""

#############################################################################
# Copyright (C) 2012 Xavier Caruso <xavier.caruso@normalesup.org>
#
# Distributed under the terms of the GNU General Public License (GPL)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
# http://www.gnu.org/licenses/
#****************************************************************************

Expand Down

0 comments on commit 26e4689

Please sign in to comment.