/[escript]/trunk/escript/src/escriptcpp.cpp
ViewVC logotype

Diff of /trunk/escript/src/escriptcpp.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3506 by jfenwick, Wed May 11 01:59:45 2011 UTC revision 3514 by caltinay, Thu May 19 04:48:34 2011 UTC
# Line 433  args("arg"), "assigns new location to th Line 433  args("arg"), "assigns new location to th
433      .def("__pow__",&escript::Data::powD)      .def("__pow__",&escript::Data::powD)
434      .def("__rpow__",&escript::Data::rpowO,"\nUsed by the python ** operator\n\n:rtype: `Data`")      .def("__rpow__",&escript::Data::rpowO,"\nUsed by the python ** operator\n\n:rtype: `Data`")
435      // following two functions implement the newer python / operator      // following two functions implement the newer python / operator
     .def("__truediv__",&escript::Data::truedivD)  
436      .def("__truediv__",&escript::Data::truedivO)      .def("__truediv__",&escript::Data::truedivO)
437        .def("__truediv__",&escript::Data::truedivD)
438        .def("__rtruediv__",&escript::Data::rtruedivO)
439      // NOTE:: The order of these declarations is important. Anything      // NOTE:: The order of these declarations is important. Anything
440      // declared before the generic declaration isn't found so the generic      // declared before the generic declaration isn't found so the generic
441      // version will be called.      // version will be called.

Legend:
Removed from v.3506  
changed lines
  Added in v.3514

  ViewVC Help
Powered by ViewVC 1.1.26