Changeset d7ec6ed in git
- Timestamp:
- Mar 15, 2006, 11:53:58 AM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- f54c8394f472e179f3df2425da0e86a3f565f674
- Parents:
- 7b4b1466fdc301c05724da66b8a6722d37c91f62
- Location:
- modules/python
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/python/Singular.html
r7b4b146 rd7ec6ed 157 157 <dl><dt><a name="Number-__imul__"><strong>__imul__</strong></a>(...)</dt></dl> 158 158 159 <dl><dt><a name="Number-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>creates a number in currRing by default, more complex constructs can be fetch ted from the interpreter</tt></dd></dl>159 <dl><dt><a name="Number-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>creates a number in currRing by default, more complex constructs can be fetched from the interpreter</tt></dd></dl> 160 160 161 161 <dl><dt><a name="Number-__isub__"><strong>__isub__</strong></a>(...)</dt></dl> … … 247 247 <font color="#000000" face="helvetica, arial"><a name="Ring">class <strong>Ring</strong></a>(Boost.Python.instance)</font></td></tr> 248 248 249 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 249 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 250 <td colspan=2><tt>reference to a Singular ring<br> </tt></td></tr> 251 <tr><td> </td> 250 252 <td width="100%"><dl><dt>Method resolution order:</dt> 251 253 <dd><a href="Singular.html#Ring">Ring</a></dd> … … 259 261 <dl><dt><a name="Ring-__str__"><strong>__str__</strong></a>(...)</dt></dl> 260 262 261 <dl><dt><a name="Ring-set"><strong>set</strong></a>(...)</dt>< /dl>263 <dl><dt><a name="Ring-set"><strong>set</strong></a>(...)</dt><dd><tt>equivalent to the singular command setring, which is not mapped as it is a command</tt></dd></dl> 262 264 263 265 <hr> -
modules/python/interpreter.html
r7b4b146 rd7ec6ed 30 30 </font></dt><dd> 31 31 <dl> 32 <dt><font face="helvetica, arial"><a href="interpreter.html#singular_globals_proxy">singular_globals_proxy</a> 33 </font></dt><dt><font face="helvetica, arial"><a href="interpreter.html#singular_globals_proxy">singular_globals_proxy</a> 32 <dt><font face="helvetica, arial"><a href="interpreter.html#SingularGlobalsProxy">SingularGlobalsProxy</a> 34 33 </font></dt></dl> 35 34 </dd> … … 39 38 <tr bgcolor="#ffc8d8"> 40 39 <td colspan=3 valign=bottom> <br> 41 <font color="#000000" face="helvetica, arial">< strong>global_functions</strong> = <a name="global_functions">class singular_globals_proxy</a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>40 <font color="#000000" face="helvetica, arial"><a name="SingularGlobalsProxy">class <strong>SingularGlobalsProxy</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> 42 41 43 42 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 44 43 <td colspan=2><tt>The Most important class<br> 45 singular= <a href="#singular_globals_proxy">singular_globals_proxy</a>()<br>44 singular=singular_globals_proxy()<br> 46 45 for some ideal<br> 47 46 singular.groebner(i)<br> … … 55 54 <tr><td> </td> 56 55 <td width="100%">Methods defined here:<br> 57 <dl><dt><a name=" singular_globals_proxy-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt></dl>56 <dl><dt><a name="SingularGlobalsProxy-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt></dl> 58 57 59 <dl><dt><a name=" singular_globals_proxy-__setattr__"><strong>__setattr__</strong></a>(self, name, value)</dt></dl>58 <dl><dt><a name="SingularGlobalsProxy-__setattr__"><strong>__setattr__</strong></a>(self, name, value)</dt></dl> 60 59 61 60 <hr> … … 63 62 <dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl> 64 63 65 <dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'singular_globals_proxy' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl> 66 67 </td></tr></table> <p> 68 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 69 <tr bgcolor="#ffc8d8"> 70 <td colspan=3 valign=bottom> <br> 71 <font color="#000000" face="helvetica, arial"><a name="singular_globals_proxy">class <strong>singular_globals_proxy</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> 72 73 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 74 <td colspan=2><tt>The Most important class<br> 75 singular=<a href="#singular_globals_proxy">singular_globals_proxy</a>()<br> 76 for some ideal<br> 77 singular.groebner(i)<br> 78 singular.std(i)<br> 79 in general all interpreter and kernel functions<br> 80 with supported data type work<br> 81 for some global poly variable p in the interpreter and p in python<br> 82 singular.p=p<br> 83 p=singular.p<br> 84 this is always a copy as this <a href="__builtin__.html#object">object</a> is only some magic proxy<br> </tt></td></tr> 85 <tr><td> </td> 86 <td width="100%">Methods defined here:<br> 87 <dl><dt><a name="singular_globals_proxy-__getattr__"><strong>__getattr__</strong></a>(self, name)</dt></dl> 88 89 <dl><dt><a name="singular_globals_proxy-__setattr__"><strong>__setattr__</strong></a>(self, name, value)</dt></dl> 90 91 <hr> 92 Data and other attributes defined here:<br> 93 <dl><dt><strong>__dict__</strong> = <dictproxy object><dd><tt>dictionary for instance variables (if defined)</tt></dl> 94 95 <dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'singular_globals_proxy' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl> 64 <dl><dt><strong>__weakref__</strong> = <attribute '__weakref__' of 'SingularGlobalsProxy' objects><dd><tt>list of weak references to the <a href="__builtin__.html#object">object</a> (if defined)</tt></dl> 96 65 97 66 </td></tr></table></td></tr></table><p> -
modules/python/interpreter.py
r7b4b146 rd7ec6ed 25 25 l.append(a) 26 26 return l 27 class singular_globals_proxy(object):27 class SingularGlobalsProxy(object): 28 28 """The Most important class 29 29 singular=singular_globals_proxy() … … 89 89 id.write(value) 90 90 #for compatibility the old name 91 global_functions=singular_globals_proxy91 #global_functions=singular_globals_proxy 92 92 93 93 -
modules/python/ring_wrap.cc
r7b4b146 rd7ec6ed 1 //$Id: ring_wrap.cc,v 1. 6 2006-03-09 14:49:17bricken Exp $1 //$Id: ring_wrap.cc,v 1.7 2006-03-15 10:53:58 bricken Exp $ 2 2 3 3 #include <boost/python.hpp> … … 15 15 } 16 16 void export_ring(){ 17 boost::python::class_<Ring>("Ring" )17 boost::python::class_<Ring>("Ring", "reference to a Singular ring") 18 18 .def("__str__", Ring_as_str) 19 .def("set", &Ring::set )19 .def("set", &Ring::set,"equivalent to the singular command setring, which is not mapped as it is a command") 20 20 .def(boost::python::init <>()); 21 21 -
modules/python/util.html
r7b4b146 rd7ec6ed 27 27 <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> 28 28 <td width="100%"><strong>oldrings</strong> = []<br> 29 <strong>singular</strong> = <interpreter. singular_globals_proxy object></td></tr></table>29 <strong>singular</strong> = <interpreter.SingularGlobalsProxy object></td></tr></table> 30 30 </body></html> -
modules/python/util.py
r7b4b146 rd7ec6ed 1 1 from Singular import * 2 2 from interpreter import * 3 singular= singular_globals_proxy()3 singular=SingularGlobalsProxy() 4 4 5 5 def create_ring(char=0, nvars=1, varNames=None, ordering="dp", degvec=None):
Note: See TracChangeset
for help on using the changeset viewer.