Changeset 80e54c in git
- Timestamp:
- Mar 15, 2006, 11:40:44 AM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 7b4b1466fdc301c05724da66b8a6722d37c91f62
- Parents:
- d4a6dc5a2b2199b48cde94c7a70ac5d4a3cf4def
- Location:
- modules/python
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/python/README
rd4a6dc5 r80e54c 86 86 - documentation 87 87 - provide feedback for missing functionality 88 -smart pointer for ring in Poly 88 89 89 90 RULES: … … 110 111 successfully tested systems: 111 112 linux: x86, x86_64 112 Mac OS X:G4 113 Mac OS X:G4, 114 windows (ask Oliver) 113 115 114 116 -
modules/python/Singular.html
rd4a6dc5 r80e54c 22 22 </font></dt><dd> 23 23 <dl> 24 <dt><font face="helvetica, arial"><a href="Singular.html#canonical_form">canonical_form</a> 25 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#ideal">ideal</a> 26 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#intvec">intvec</a> 27 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#number">number</a> 28 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#polynomial">polynomial</a> 24 <dt><font face="helvetica, arial"><a href="Singular.html#Ideal">Ideal</a> 25 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#IntVector">IntVector</a> 26 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#Number">Number</a> 27 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#Polynomial">Polynomial</a> 28 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#Ring">Ring</a> 29 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#Vector">Vector</a> 30 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#canonical_form">canonical_form</a> 29 31 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#power_series">power_series</a> 30 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#ring">ring</a>31 32 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#variable">variable</a> 32 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#vector">vector</a>33 33 </font></dt><dt><font face="helvetica, arial"><a href="Singular.html#vector_power_series">vector_power_series</a> 34 34 </font></dt></dl> … … 39 39 <tr bgcolor="#ffc8d8"> 40 40 <td colspan=3 valign=bottom> <br> 41 <font color="#000000" face="helvetica, arial"><a name="canonical_form">class <strong>canonical_form</strong></a>(Boost.Python.instance)</font></td></tr> 42 43 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 44 <td width="100%"><dl><dt>Method resolution order:</dt> 45 <dd><a href="Singular.html#canonical_form">canonical_form</a></dd> 46 <dd>Boost.Python.instance</dd> 47 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 48 </dl> 49 <hr> 50 Methods defined here:<br> 51 <dl><dt><a name="canonical_form-__add__"><strong>__add__</strong></a>(...)</dt></dl> 52 53 <dl><dt><a name="canonical_form-__div__"><strong>__div__</strong></a>(...)</dt></dl> 54 55 <dl><dt><a name="canonical_form-__eq__"><strong>__eq__</strong></a>(...)</dt></dl> 56 57 <dl><dt><a name="canonical_form-__iadd__"><strong>__iadd__</strong></a>(...)</dt></dl> 58 59 <dl><dt><a name="canonical_form-__idiv__"><strong>__idiv__</strong></a>(...)</dt></dl> 60 61 <dl><dt><a name="canonical_form-__imul__"><strong>__imul__</strong></a>(...)</dt></dl> 62 63 <dl><dt><a name="canonical_form-__init__"><strong>__init__</strong></a>(...)</dt></dl> 64 65 <dl><dt><a name="canonical_form-__isub__"><strong>__isub__</strong></a>(...)</dt></dl> 66 67 <dl><dt><a name="canonical_form-__mul__"><strong>__mul__</strong></a>(...)</dt></dl> 68 69 <dl><dt><a name="canonical_form-__neg__"><strong>__neg__</strong></a>(...)</dt></dl> 70 71 <dl><dt><a name="canonical_form-__radd__"><strong>__radd__</strong></a>(...)</dt></dl> 72 73 <dl><dt><a name="canonical_form-__rdiv__"><strong>__rdiv__</strong></a>(...)</dt></dl> 74 75 <dl><dt><a name="canonical_form-__rmul__"><strong>__rmul__</strong></a>(...)</dt></dl> 76 77 <dl><dt><a name="canonical_form-__rsub__"><strong>__rsub__</strong></a>(...)</dt></dl> 78 79 <dl><dt><a name="canonical_form-__str__"><strong>__str__</strong></a>(...)</dt></dl> 80 81 <dl><dt><a name="canonical_form-__sub__"><strong>__sub__</strong></a>(...)</dt></dl> 82 83 <hr> 84 Data and other attributes defined here:<br> 85 <dl><dt><strong>__instance_size__</strong> = 12</dl> 86 87 <hr> 88 Data and other attributes inherited from Boost.Python.instance:<br> 89 <dl><dt><strong>__dict__</strong> = <dictproxy object></dl> 90 91 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#canonical_form-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> 92 93 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> 94 95 </td></tr></table> <p> 96 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 97 <tr bgcolor="#ffc8d8"> 98 <td colspan=3 valign=bottom> <br> 99 <font color="#000000" face="helvetica, arial"><a name="ideal">class <strong>ideal</strong></a>(Boost.Python.instance)</font></td></tr> 100 101 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 102 <td width="100%"><dl><dt>Method resolution order:</dt> 103 <dd><a href="Singular.html#ideal">ideal</a></dd> 104 <dd>Boost.Python.instance</dd> 105 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 106 </dl> 107 <hr> 108 Methods defined here:<br> 109 <dl><dt><a name="ideal-__contains__"><strong>__contains__</strong></a>(...)</dt></dl> 110 111 <dl><dt><a name="ideal-__delitem__"><strong>__delitem__</strong></a>(...)</dt></dl> 112 113 <dl><dt><a name="ideal-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl> 114 115 <dl><dt><a name="ideal-__init__"><strong>__init__</strong></a>(...)</dt></dl> 116 117 <dl><dt><a name="ideal-__iter__"><strong>__iter__</strong></a>(...)</dt></dl> 118 119 <dl><dt><a name="ideal-__len__"><strong>__len__</strong></a>(...)</dt></dl> 120 121 <dl><dt><a name="ideal-__setitem__"><strong>__setitem__</strong></a>(...)</dt></dl> 122 123 <dl><dt><a name="ideal-__str__"><strong>__str__</strong></a>(...)</dt></dl> 124 125 <dl><dt><a name="ideal-append"><strong>append</strong></a>(...)</dt></dl> 126 127 <dl><dt><a name="ideal-extend"><strong>extend</strong></a>(...)</dt></dl> 128 129 <dl><dt><a name="ideal-ring"><strong>ring</strong></a>(...)</dt></dl> 41 <font color="#000000" face="helvetica, arial"><a name="Ideal">class <strong>Ideal</strong></a>(Boost.Python.instance)</font></td></tr> 42 43 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 44 <td colspan=2><tt>supports most operation a python list supports with the expception, that elements must be Polynomials<br> </tt></td></tr> 45 <tr><td> </td> 46 <td width="100%"><dl><dt>Method resolution order:</dt> 47 <dd><a href="Singular.html#Ideal">Ideal</a></dd> 48 <dd>Boost.Python.instance</dd> 49 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 50 </dl> 51 <hr> 52 Methods defined here:<br> 53 <dl><dt><a name="Ideal-__contains__"><strong>__contains__</strong></a>(...)</dt></dl> 54 55 <dl><dt><a name="Ideal-__delitem__"><strong>__delitem__</strong></a>(...)</dt></dl> 56 57 <dl><dt><a name="Ideal-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl> 58 59 <dl><dt><a name="Ideal-__init__"><strong>__init__</strong></a>(...)</dt></dl> 60 61 <dl><dt><a name="Ideal-__iter__"><strong>__iter__</strong></a>(...)</dt></dl> 62 63 <dl><dt><a name="Ideal-__len__"><strong>__len__</strong></a>(...)</dt></dl> 64 65 <dl><dt><a name="Ideal-__setitem__"><strong>__setitem__</strong></a>(...)</dt></dl> 66 67 <dl><dt><a name="Ideal-__str__"><strong>__str__</strong></a>(...)</dt></dl> 68 69 <dl><dt><a name="Ideal-append"><strong>append</strong></a>(...)</dt></dl> 70 71 <dl><dt><a name="Ideal-extend"><strong>extend</strong></a>(...)</dt></dl> 72 73 <dl><dt><a name="Ideal-ring"><strong>ring</strong></a>(...)</dt></dl> 130 74 131 75 <hr> … … 137 81 <dl><dt><strong>__dict__</strong> = <dictproxy object></dl> 138 82 139 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="# ideal-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>140 141 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> 142 143 </td></tr></table> <p> 144 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 145 <tr bgcolor="#ffc8d8"> 146 <td colspan=3 valign=bottom> <br> 147 <font color="#000000" face="helvetica, arial"><a name=" intvec">class <strong>intvec</strong></a>(Boost.Python.instance)</font></td></tr>148 149 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 150 <td width="100%"><dl><dt>Method resolution order:</dt> 151 <dd><a href="Singular.html# intvec">intvec</a></dd>152 <dd>Boost.Python.instance</dd> 153 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 154 </dl> 155 <hr> 156 Methods defined here:<br> 157 <dl><dt><a name=" intvec-__contains__"><strong>__contains__</strong></a>(...)</dt></dl>158 159 <dl><dt><a name=" intvec-__delitem__"><strong>__delitem__</strong></a>(...)</dt></dl>160 161 <dl><dt><a name=" intvec-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl>162 163 <dl><dt><a name=" intvec-__init__"><strong>__init__</strong></a>(...)</dt></dl>164 165 <dl><dt><a name=" intvec-__iter__"><strong>__iter__</strong></a>(...)</dt></dl>166 167 <dl><dt><a name=" intvec-__len__"><strong>__len__</strong></a>(...)</dt></dl>168 169 <dl><dt><a name=" intvec-__setitem__"><strong>__setitem__</strong></a>(...)</dt></dl>170 171 <dl><dt><a name=" intvec-__str__"><strong>__str__</strong></a>(...)</dt></dl>172 173 <dl><dt><a name=" intvec-append"><strong>append</strong></a>(...)</dt></dl>174 175 <dl><dt><a name=" intvec-extend"><strong>extend</strong></a>(...)</dt></dl>83 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#Ideal-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> 84 85 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> 86 87 </td></tr></table> <p> 88 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 89 <tr bgcolor="#ffc8d8"> 90 <td colspan=3 valign=bottom> <br> 91 <font color="#000000" face="helvetica, arial"><a name="IntVector">class <strong>IntVector</strong></a>(Boost.Python.instance)</font></td></tr> 92 93 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 94 <td width="100%"><dl><dt>Method resolution order:</dt> 95 <dd><a href="Singular.html#IntVector">IntVector</a></dd> 96 <dd>Boost.Python.instance</dd> 97 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 98 </dl> 99 <hr> 100 Methods defined here:<br> 101 <dl><dt><a name="IntVector-__contains__"><strong>__contains__</strong></a>(...)</dt></dl> 102 103 <dl><dt><a name="IntVector-__delitem__"><strong>__delitem__</strong></a>(...)</dt></dl> 104 105 <dl><dt><a name="IntVector-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl> 106 107 <dl><dt><a name="IntVector-__init__"><strong>__init__</strong></a>(...)</dt></dl> 108 109 <dl><dt><a name="IntVector-__iter__"><strong>__iter__</strong></a>(...)</dt></dl> 110 111 <dl><dt><a name="IntVector-__len__"><strong>__len__</strong></a>(...)</dt></dl> 112 113 <dl><dt><a name="IntVector-__setitem__"><strong>__setitem__</strong></a>(...)</dt></dl> 114 115 <dl><dt><a name="IntVector-__str__"><strong>__str__</strong></a>(...)</dt></dl> 116 117 <dl><dt><a name="IntVector-append"><strong>append</strong></a>(...)</dt></dl> 118 119 <dl><dt><a name="IntVector-extend"><strong>extend</strong></a>(...)</dt></dl> 176 120 177 121 <hr> … … 183 127 <dl><dt><strong>__dict__</strong> = <dictproxy object></dl> 184 128 185 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="# intvec-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>186 187 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> 188 189 </td></tr></table> <p> 190 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 191 <tr bgcolor="#ffc8d8"> 192 <td colspan=3 valign=bottom> <br> 193 <font color="#000000" face="helvetica, arial"><a name=" number">class <strong>number</strong></a>(Boost.Python.instance)</font></td></tr>194 195 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 196 <td width="100%"><dl><dt>Method resolution order:</dt> 197 <dd><a href="Singular.html# number">number</a></dd>198 <dd>Boost.Python.instance</dd> 199 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 200 </dl> 201 <hr> 202 Methods defined here:<br> 203 <dl><dt><a name=" number-__add__"><strong>__add__</strong></a>(...)</dt></dl>204 205 <dl><dt><a name=" number-__div__"><strong>__div__</strong></a>(...)</dt></dl>206 207 <dl><dt><a name=" number-__eq__"><strong>__eq__</strong></a>(...)</dt></dl>208 209 <dl><dt><a name=" number-__iadd__"><strong>__iadd__</strong></a>(...)</dt></dl>210 211 <dl><dt><a name=" number-__idiv__"><strong>__idiv__</strong></a>(...)</dt></dl>212 213 <dl><dt><a name=" number-__imul__"><strong>__imul__</strong></a>(...)</dt></dl>214 215 <dl><dt><a name=" number-__init__"><strong>__init__</strong></a>(...)</dt></dl>216 217 <dl><dt><a name=" number-__isub__"><strong>__isub__</strong></a>(...)</dt></dl>218 219 <dl><dt><a name=" number-__mul__"><strong>__mul__</strong></a>(...)</dt></dl>220 221 <dl><dt><a name=" number-__neg__"><strong>__neg__</strong></a>(...)</dt></dl>222 223 <dl><dt><a name=" number-__radd__"><strong>__radd__</strong></a>(...)</dt></dl>224 225 <dl><dt><a name=" number-__rdiv__"><strong>__rdiv__</strong></a>(...)</dt></dl>226 227 <dl><dt><a name=" number-__rmul__"><strong>__rmul__</strong></a>(...)</dt></dl>228 229 <dl><dt><a name=" number-__rsub__"><strong>__rsub__</strong></a>(...)</dt></dl>230 231 <dl><dt><a name=" number-__str__"><strong>__str__</strong></a>(...)</dt></dl>232 233 <dl><dt><a name=" number-__sub__"><strong>__sub__</strong></a>(...)</dt></dl>129 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#IntVector-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> 130 131 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> 132 133 </td></tr></table> <p> 134 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 135 <tr bgcolor="#ffc8d8"> 136 <td colspan=3 valign=bottom> <br> 137 <font color="#000000" face="helvetica, arial"><a name="Number">class <strong>Number</strong></a>(Boost.Python.instance)</font></td></tr> 138 139 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 140 <td width="100%"><dl><dt>Method resolution order:</dt> 141 <dd><a href="Singular.html#Number">Number</a></dd> 142 <dd>Boost.Python.instance</dd> 143 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 144 </dl> 145 <hr> 146 Methods defined here:<br> 147 <dl><dt><a name="Number-__add__"><strong>__add__</strong></a>(...)</dt></dl> 148 149 <dl><dt><a name="Number-__div__"><strong>__div__</strong></a>(...)</dt></dl> 150 151 <dl><dt><a name="Number-__eq__"><strong>__eq__</strong></a>(...)</dt></dl> 152 153 <dl><dt><a name="Number-__iadd__"><strong>__iadd__</strong></a>(...)</dt></dl> 154 155 <dl><dt><a name="Number-__idiv__"><strong>__idiv__</strong></a>(...)</dt></dl> 156 157 <dl><dt><a name="Number-__imul__"><strong>__imul__</strong></a>(...)</dt></dl> 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 fetchted from the interpreter</tt></dd></dl> 160 161 <dl><dt><a name="Number-__isub__"><strong>__isub__</strong></a>(...)</dt></dl> 162 163 <dl><dt><a name="Number-__mul__"><strong>__mul__</strong></a>(...)</dt></dl> 164 165 <dl><dt><a name="Number-__neg__"><strong>__neg__</strong></a>(...)</dt></dl> 166 167 <dl><dt><a name="Number-__radd__"><strong>__radd__</strong></a>(...)</dt></dl> 168 169 <dl><dt><a name="Number-__rdiv__"><strong>__rdiv__</strong></a>(...)</dt></dl> 170 171 <dl><dt><a name="Number-__rmul__"><strong>__rmul__</strong></a>(...)</dt></dl> 172 173 <dl><dt><a name="Number-__rsub__"><strong>__rsub__</strong></a>(...)</dt></dl> 174 175 <dl><dt><a name="Number-__str__"><strong>__str__</strong></a>(...)</dt></dl> 176 177 <dl><dt><a name="Number-__sub__"><strong>__sub__</strong></a>(...)</dt></dl> 234 178 235 179 <hr> … … 241 185 <dl><dt><strong>__dict__</strong> = <dictproxy object></dl> 242 186 243 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="# number-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>244 245 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> 246 247 </td></tr></table> <p> 248 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 249 <tr bgcolor="#ffc8d8"> 250 <td colspan=3 valign=bottom> <br> 251 <font color="#000000" face="helvetica, arial"><a name=" polynomial">class <strong>polynomial</strong></a>(Boost.Python.instance)</font></td></tr>187 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#Number-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> 188 189 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> 190 191 </td></tr></table> <p> 192 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 193 <tr bgcolor="#ffc8d8"> 194 <td colspan=3 valign=bottom> <br> 195 <font color="#000000" face="helvetica, arial"><a name="Polynomial">class <strong>Polynomial</strong></a>(Boost.Python.instance)</font></td></tr> 252 196 253 197 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> … … 255 199 <tr><td> </td> 256 200 <td width="100%"><dl><dt>Method resolution order:</dt> 257 <dd><a href="Singular.html# polynomial">polynomial</a></dd>258 <dd>Boost.Python.instance</dd> 259 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 260 </dl> 261 <hr> 262 Methods defined here:<br> 263 <dl><dt><a name=" polynomial-__add__"><strong>__add__</strong></a>(...)</dt></dl>264 265 <dl><dt><a name=" polynomial-__iadd__"><strong>__iadd__</strong></a>(...)</dt></dl>266 267 <dl><dt><a name=" polynomial-__imul__"><strong>__imul__</strong></a>(...)</dt></dl>268 269 <dl><dt><a name=" polynomial-__init__"><strong>__init__</strong></a>(...)</dt></dl>270 271 <dl><dt><a name=" polynomial-__iter__"><strong>__iter__</strong></a>(...)</dt></dl>272 273 <dl><dt><a name=" polynomial-__mul__"><strong>__mul__</strong></a>(...)</dt></dl>274 275 <dl><dt><a name=" polynomial-__neg__"><strong>__neg__</strong></a>(...)</dt></dl>276 277 <dl><dt><a name=" polynomial-__rmul__"><strong>__rmul__</strong></a>(...)</dt></dl>278 279 <dl><dt><a name=" polynomial-__str__"><strong>__str__</strong></a>(...)</dt></dl>280 281 <dl><dt><a name=" polynomial-leadCoef"><strong>leadCoef</strong></a>(...)</dt></dl>282 283 <dl><dt><a name=" polynomial-leadExp"><strong>leadExp</strong></a>(...)</dt></dl>284 285 <dl><dt><a name=" polynomial-ring"><strong>ring</strong></a>(...)</dt></dl>201 <dd><a href="Singular.html#Polynomial">Polynomial</a></dd> 202 <dd>Boost.Python.instance</dd> 203 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 204 </dl> 205 <hr> 206 Methods defined here:<br> 207 <dl><dt><a name="Polynomial-__add__"><strong>__add__</strong></a>(...)</dt></dl> 208 209 <dl><dt><a name="Polynomial-__iadd__"><strong>__iadd__</strong></a>(...)</dt></dl> 210 211 <dl><dt><a name="Polynomial-__imul__"><strong>__imul__</strong></a>(...)</dt></dl> 212 213 <dl><dt><a name="Polynomial-__init__"><strong>__init__</strong></a>(...)</dt></dl> 214 215 <dl><dt><a name="Polynomial-__iter__"><strong>__iter__</strong></a>(...)</dt></dl> 216 217 <dl><dt><a name="Polynomial-__mul__"><strong>__mul__</strong></a>(...)</dt></dl> 218 219 <dl><dt><a name="Polynomial-__neg__"><strong>__neg__</strong></a>(...)</dt></dl> 220 221 <dl><dt><a name="Polynomial-__rmul__"><strong>__rmul__</strong></a>(...)</dt></dl> 222 223 <dl><dt><a name="Polynomial-__str__"><strong>__str__</strong></a>(...)</dt></dl> 224 225 <dl><dt><a name="Polynomial-leadCoef"><strong>leadCoef</strong></a>(...)</dt></dl> 226 227 <dl><dt><a name="Polynomial-leadExp"><strong>leadExp</strong></a>(...)</dt></dl> 228 229 <dl><dt><a name="Polynomial-ring"><strong>ring</strong></a>(...)</dt></dl> 286 230 287 231 <hr> … … 293 237 <dl><dt><strong>__dict__</strong> = <dictproxy object></dl> 294 238 295 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#polynomial-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> 239 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#Polynomial-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> 240 241 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> 242 243 </td></tr></table> <p> 244 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 245 <tr bgcolor="#ffc8d8"> 246 <td colspan=3 valign=bottom> <br> 247 <font color="#000000" face="helvetica, arial"><a name="Ring">class <strong>Ring</strong></a>(Boost.Python.instance)</font></td></tr> 248 249 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 250 <td width="100%"><dl><dt>Method resolution order:</dt> 251 <dd><a href="Singular.html#Ring">Ring</a></dd> 252 <dd>Boost.Python.instance</dd> 253 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 254 </dl> 255 <hr> 256 Methods defined here:<br> 257 <dl><dt><a name="Ring-__init__"><strong>__init__</strong></a>(...)</dt></dl> 258 259 <dl><dt><a name="Ring-__str__"><strong>__str__</strong></a>(...)</dt></dl> 260 261 <dl><dt><a name="Ring-set"><strong>set</strong></a>(...)</dt></dl> 262 263 <hr> 264 Data and other attributes defined here:<br> 265 <dl><dt><strong>__instance_size__</strong> = 12</dl> 266 267 <hr> 268 Data and other attributes inherited from Boost.Python.instance:<br> 269 <dl><dt><strong>__dict__</strong> = <dictproxy object></dl> 270 271 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#Ring-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> 272 273 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> 274 275 </td></tr></table> <p> 276 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 277 <tr bgcolor="#ffc8d8"> 278 <td colspan=3 valign=bottom> <br> 279 <font color="#000000" face="helvetica, arial"><a name="Vector">class <strong>Vector</strong></a>(Boost.Python.instance)</font></td></tr> 280 281 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 282 <td width="100%"><dl><dt>Method resolution order:</dt> 283 <dd><a href="Singular.html#Vector">Vector</a></dd> 284 <dd>Boost.Python.instance</dd> 285 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 286 </dl> 287 <hr> 288 Methods defined here:<br> 289 <dl><dt><a name="Vector-__add__"><strong>__add__</strong></a>(...)</dt></dl> 290 291 <dl><dt><a name="Vector-__iadd__"><strong>__iadd__</strong></a>(...)</dt></dl> 292 293 <dl><dt><a name="Vector-__imul__"><strong>__imul__</strong></a>(...)</dt></dl> 294 295 <dl><dt><a name="Vector-__init__"><strong>__init__</strong></a>(...)</dt></dl> 296 297 <dl><dt><a name="Vector-__iter__"><strong>__iter__</strong></a>(...)</dt></dl> 298 299 <dl><dt><a name="Vector-__neg__"><strong>__neg__</strong></a>(...)</dt></dl> 300 301 <dl><dt><a name="Vector-__rmul__"><strong>__rmul__</strong></a>(...)</dt></dl> 302 303 <dl><dt><a name="Vector-__str__"><strong>__str__</strong></a>(...)</dt></dl> 304 305 <hr> 306 Data and other attributes defined here:<br> 307 <dl><dt><strong>__instance_size__</strong> = 20</dl> 308 309 <hr> 310 Data and other attributes inherited from Boost.Python.instance:<br> 311 <dl><dt><strong>__dict__</strong> = <dictproxy object></dl> 312 313 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#Vector-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> 314 315 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> 316 317 </td></tr></table> <p> 318 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 319 <tr bgcolor="#ffc8d8"> 320 <td colspan=3 valign=bottom> <br> 321 <font color="#000000" face="helvetica, arial"><a name="canonical_form">class <strong>canonical_form</strong></a>(Boost.Python.instance)</font></td></tr> 322 323 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 324 <td width="100%"><dl><dt>Method resolution order:</dt> 325 <dd><a href="Singular.html#canonical_form">canonical_form</a></dd> 326 <dd>Boost.Python.instance</dd> 327 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 328 </dl> 329 <hr> 330 Methods defined here:<br> 331 <dl><dt><a name="canonical_form-__add__"><strong>__add__</strong></a>(...)</dt></dl> 332 333 <dl><dt><a name="canonical_form-__div__"><strong>__div__</strong></a>(...)</dt></dl> 334 335 <dl><dt><a name="canonical_form-__eq__"><strong>__eq__</strong></a>(...)</dt></dl> 336 337 <dl><dt><a name="canonical_form-__iadd__"><strong>__iadd__</strong></a>(...)</dt></dl> 338 339 <dl><dt><a name="canonical_form-__idiv__"><strong>__idiv__</strong></a>(...)</dt></dl> 340 341 <dl><dt><a name="canonical_form-__imul__"><strong>__imul__</strong></a>(...)</dt></dl> 342 343 <dl><dt><a name="canonical_form-__init__"><strong>__init__</strong></a>(...)</dt></dl> 344 345 <dl><dt><a name="canonical_form-__isub__"><strong>__isub__</strong></a>(...)</dt></dl> 346 347 <dl><dt><a name="canonical_form-__mul__"><strong>__mul__</strong></a>(...)</dt></dl> 348 349 <dl><dt><a name="canonical_form-__neg__"><strong>__neg__</strong></a>(...)</dt></dl> 350 351 <dl><dt><a name="canonical_form-__radd__"><strong>__radd__</strong></a>(...)</dt></dl> 352 353 <dl><dt><a name="canonical_form-__rdiv__"><strong>__rdiv__</strong></a>(...)</dt></dl> 354 355 <dl><dt><a name="canonical_form-__rmul__"><strong>__rmul__</strong></a>(...)</dt></dl> 356 357 <dl><dt><a name="canonical_form-__rsub__"><strong>__rsub__</strong></a>(...)</dt></dl> 358 359 <dl><dt><a name="canonical_form-__sub__"><strong>__sub__</strong></a>(...)</dt></dl> 360 361 <hr> 362 Data and other attributes defined here:<br> 363 <dl><dt><strong>__instance_size__</strong> = 12</dl> 364 365 <hr> 366 Data and other attributes inherited from Boost.Python.instance:<br> 367 <dl><dt><strong>__dict__</strong> = <dictproxy object></dl> 368 369 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#canonical_form-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> 296 370 297 371 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> … … 331 405 <tr bgcolor="#ffc8d8"> 332 406 <td colspan=3 valign=bottom> <br> 333 <font color="#000000" face="helvetica, arial"><a name="ring">class <strong>ring</strong></a>(Boost.Python.instance)</font></td></tr> 334 335 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 336 <td width="100%"><dl><dt>Method resolution order:</dt> 337 <dd><a href="Singular.html#ring">ring</a></dd> 338 <dd>Boost.Python.instance</dd> 339 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 340 </dl> 341 <hr> 342 Methods defined here:<br> 343 <dl><dt><a name="ring-__init__"><strong>__init__</strong></a>(...)</dt></dl> 344 345 <dl><dt><a name="ring-__str__"><strong>__str__</strong></a>(...)</dt></dl> 346 347 <dl><dt><a name="ring-set"><strong>set</strong></a>(...)</dt></dl> 407 <font color="#000000" face="helvetica, arial"><a name="variable">class <strong>variable</strong></a>(Boost.Python.instance)</font></td></tr> 408 409 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 410 <td width="100%"><dl><dt>Method resolution order:</dt> 411 <dd><a href="Singular.html#variable">variable</a></dd> 412 <dd>Boost.Python.instance</dd> 413 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> 414 </dl> 415 <hr> 416 Methods defined here:<br> 417 <dl><dt><a name="variable-__init__"><strong>__init__</strong></a>(...)</dt></dl> 348 418 349 419 <hr> … … 355 425 <dl><dt><strong>__dict__</strong> = <dictproxy object></dl> 356 426 357 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#ring-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>358 359 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl>360 361 </td></tr></table> <p>362 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">363 <tr bgcolor="#ffc8d8">364 <td colspan=3 valign=bottom> <br>365 <font color="#000000" face="helvetica, arial"><a name="variable">class <strong>variable</strong></a>(Boost.Python.instance)</font></td></tr>366 367 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>368 <td width="100%"><dl><dt>Method resolution order:</dt>369 <dd><a href="Singular.html#variable">variable</a></dd>370 <dd>Boost.Python.instance</dd>371 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>372 </dl>373 <hr>374 Methods defined here:<br>375 <dl><dt><a name="variable-__init__"><strong>__init__</strong></a>(...)</dt></dl>376 377 <hr>378 Data and other attributes defined here:<br>379 <dl><dt><strong>__instance_size__</strong> = 12</dl>380 381 <hr>382 Data and other attributes inherited from Boost.Python.instance:<br>383 <dl><dt><strong>__dict__</strong> = <dictproxy object></dl>384 385 427 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#variable-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> 386 387 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl>388 389 </td></tr></table> <p>390 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">391 <tr bgcolor="#ffc8d8">392 <td colspan=3 valign=bottom> <br>393 <font color="#000000" face="helvetica, arial"><a name="vector">class <strong>vector</strong></a>(Boost.Python.instance)</font></td></tr>394 395 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td>396 <td width="100%"><dl><dt>Method resolution order:</dt>397 <dd><a href="Singular.html#vector">vector</a></dd>398 <dd>Boost.Python.instance</dd>399 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>400 </dl>401 <hr>402 Methods defined here:<br>403 <dl><dt><a name="vector-__add__"><strong>__add__</strong></a>(...)</dt></dl>404 405 <dl><dt><a name="vector-__iadd__"><strong>__iadd__</strong></a>(...)</dt></dl>406 407 <dl><dt><a name="vector-__imul__"><strong>__imul__</strong></a>(...)</dt></dl>408 409 <dl><dt><a name="vector-__init__"><strong>__init__</strong></a>(...)</dt></dl>410 411 <dl><dt><a name="vector-__iter__"><strong>__iter__</strong></a>(...)</dt></dl>412 413 <dl><dt><a name="vector-__neg__"><strong>__neg__</strong></a>(...)</dt></dl>414 415 <dl><dt><a name="vector-__rmul__"><strong>__rmul__</strong></a>(...)</dt></dl>416 417 <dl><dt><a name="vector-__str__"><strong>__str__</strong></a>(...)</dt></dl>418 419 <hr>420 Data and other attributes defined here:<br>421 <dl><dt><strong>__instance_size__</strong> = 20</dl>422 423 <hr>424 Data and other attributes inherited from Boost.Python.instance:<br>425 <dl><dt><strong>__dict__</strong> = <dictproxy object></dl>426 427 <dl><dt><strong>__new__</strong> = <built-in method __new__ of Boost.Python.class object><dd><tt>T.<a href="#vector-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl>428 428 429 429 <dl><dt><strong>__weakref__</strong> = <member '__weakref__' of 'Boost.Python.instance' objects></dl> -
modules/python/ideal_wrap.cc
rd4a6dc5 r80e54c 1 //$Id: ideal_wrap.cc,v 1. 8 2006-03-09 14:49:17bricken Exp $1 //$Id: ideal_wrap.cc,v 1.9 2006-03-15 10:40:43 bricken Exp $ 2 2 #include <boost/python.hpp> 3 3 #include "mod2.h" … … 36 36 void export_ideal() 37 37 { 38 boost::python::class_<Ideal>("Ideal") 38 boost::python::class_<Ideal>("Ideal", "supports most operation a\ 39 python list supports with the expception, that elements must\ 40 be Polynomials") 39 41 .def("__str__", Ideal_as_str) 40 42 .def("ring",Ideal_get_Ring) -
modules/python/interpreter.html
rd4a6dc5 r80e54c 9 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>interpreter</strong></big></big></font></td 10 10 ><td align=right valign=bottom 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/michael/sing 3/modules/python/interpreter.py">/Users/michael/sing3/modules/python/interpreter.py</a></font></td></tr></table>11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/michael/sing2/modules/python/interpreter.py">/Users/michael/sing2/modules/python/interpreter.py</a></font></td></tr></table> 12 12 <p></p> 13 13 <p> -
modules/python/number_wrap.cc
rd4a6dc5 r80e54c 15 15 { 16 16 boost::python::class_<Number>("Number") 17 .def(boost::python::init <int>( ))17 .def(boost::python::init <int>("creates a number in currRing by default, more complex constructs can be fetched from the interpreter")) 18 18 .def("__str__", Number_as_str) 19 19 .def(-self) -
modules/python/util.html
rd4a6dc5 r80e54c 9 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>util</strong></big></big></font></td 10 10 ><td align=right valign=bottom 11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/michael/sing 3/modules/python/util.py">/Users/michael/sing3/modules/python/util.py</a></font></td></tr></table>11 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/michael/sing2/modules/python/util.py">/Users/michael/sing2/modules/python/util.py</a></font></td></tr></table> 12 12 <p></p> 13 13 <p>
Note: See TracChangeset
for help on using the changeset viewer.