# 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


3  3  
4  4  Implements vectors over the symbolic ring. 
5  5  
 6  AUTHORS: 
6  7  
7   AUTHOR: 
 8   Robert Bradshaw (20110525): Added more elementwise simplification methods 
8  9  
9    Robert Bradshaw (20110525): Added more elementwise simplification methods 
10   
11    Joris Vankerschaver (20110515): Initial version 
12   
 10   Joris Vankerschaver (20110515): Initial version 
13  11  
14  12  EXAMPLES:: 
15  13  
… 
… 

21  19  sage: u.simplify_full() 
22  20  (1, log(6) + 2*log(y)) 
23  21  
24   Check that the outcome of arithmetic with symbolic vectors is again 
25   a symbolic vector (#11549): 
 22  TESTS: 
 23  
 24  Check that the outcome of arithmetic with symbolic vectors is again 
 25  a symbolic vector (#11549):: 
26  26  
27  27  sage: v = vector(SR, [1, 2]) 
28  28  sage: w = vector(SR, [sin(x), 0]) 
… 
… 

37  37  sage: type(5*w) 
38  38  <class 'sage.modules.vector_symbolic_dense.Vector_symbolic_dense'> 
39  39  
40   TESTS:: 
 40  Test pickling/unpickling:: 
41  41  
42  42  sage: u = vector(SR, [sin(x^2)]) 
43  43  sage: loads(dumps(u)) == u 
… 
… 

49  49  # Copyright (C) 2011 Joris Vankerschaver (jv@caltech.edu) 
50  50  # 
51  51  # 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. 
60  54  # http://www.gnu.org/licenses/ 
61  55  #***************************************************************************** 
62  56  