Thanks, that sort of makes things a bit clearer. So most of the magic is probably happening in the g_hold2_wrapper command right? I wonder where it get's defined, I couldn't find it anywhere. search_def("g_hold2_wrapper") doesn't return anything so it's not in sage self. I also used grep to maybe locate it in the pynac spkg but it's not there either (I wasn't sure if search_def also looked in the spkg files), and it's also not to be found in the GiNaC reference.
Maarten Derickx On Nov 2, 8:26 pm, Mike Hansen <mhan...@gmail.com> wrote: > On Tue, Nov 2, 2010 at 12:15 PM, koffie <m.derickx.stud...@gmail.com> wrote: > > return new_Expression_from_GEx(self._parent, > > g_hold2_wrapper(g_power_construct, self._gobj, g_ex1_2, hold)) > > > Can someone help with this? > > It returns a new Expression (sage.symbolic.expression.Expression) > object that corresponds to a GiNaC/Pynac object (second argument) with > a given parent (first argument). It's just a constructor for > Expression like Expression.__init__, except that it takes a pointer to > a C++ object. > > --Mike -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org