189 |
// following two functions implement the python ** operator |
// following two functions implement the python ** operator |
190 |
.def("__pow__",&escript::Data::powO) |
.def("__pow__",&escript::Data::powO) |
191 |
.def("__pow__",&escript::Data::powD) |
.def("__pow__",&escript::Data::powD) |
192 |
|
.def("__rpow__",&escript::Data::rpowO) |
193 |
// NOTE:: The order of these declarations is important. Anything |
// NOTE:: The order of these declarations is important. Anything |
194 |
// declared before the generic declaration isn't found so the generic |
// declared before the generic declaration isn't found so the generic |
195 |
// version will be called. |
// version will be called. |