Ticket #11549: 11549_doc.patch

File 11549_doc.patch, 2.1 KB (added by jdemeyer, 11 years ago)

Small documentation fixes

  • sage/modules/vector_symbolic_dense.py

    # HG changeset patch
    # User Jeroen Demeyer <jdemeyer@cage.ugent.be>
    # Date 1309804066 -7200
    # Node ID 79bb389f9742efbff117ec6b390e1caf150d58f5
    # Parent  3480b4057ac060fa2c770b002ad7652140506e89
    Small documentation fixes
    
    diff -r 3480b4057ac0 -r 79bb389f9742 sage/modules/vector_symbolic_dense.py
    a b  
    33
    44Implements vectors over the symbolic ring.
    55
     6AUTHORS:
    67
    7 AUTHOR:
     8- Robert Bradshaw (2011-05-25): Added more element-wise simplification methods
    89
    9     -- Robert Bradshaw (2011-05-25): Added more element-wise simplification methods
    10 
    11     -- Joris Vankerschaver (2011-05-15): Initial version
    12 
     10- Joris Vankerschaver (2011-05-15): Initial version
    1311
    1412EXAMPLES::
    1513
     
    2119    sage: u.simplify_full()
    2220    (1, log(6) + 2*log(y))
    2321
    24 Check that the outcome of arithmetic with symbolic vectors is again
    25 a symbolic vector (#11549):
     22TESTS:
     23
     24Check that the outcome of arithmetic with symbolic vectors is again
     25a symbolic vector (#11549)::
    2626
    2727    sage: v = vector(SR, [1, 2])
    2828    sage: w = vector(SR, [sin(x), 0])
     
    3737    sage: type(5*w)
    3838    <class 'sage.modules.vector_symbolic_dense.Vector_symbolic_dense'>
    3939
    40 TESTS::
     40Test pickling/unpickling::
    4141
    4242    sage: u = vector(SR, [sin(x^2)])
    4343    sage: loads(dumps(u)) == u
     
    4949#       Copyright (C) 2011 Joris Vankerschaver (jv@caltech.edu)
    5050#
    5151#  Distributed under the terms of the GNU General Public License (GPL)
    52 #
    53 #    This code is distributed in the hope that it will be useful,
    54 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
    55 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    56 #    General Public License for more details.
    57 #
    58 #  The full text of the GPL is available at:
    59 #
     52#  as published by the Free Software Foundation; either version 2 of
     53#  the License, or (at your option) any later version.
    6054#                  http://www.gnu.org/licenses/
    6155#*****************************************************************************
    6256