Hi, On 11 Dez., 04:36, Kwankyu <ekwan...@gmail.com> wrote: > Below is a passage in the Reference manual on the coercion model: > > If R is the base of S (as in the first example), simply implement > _rmul_ and/or _lmul_ on the Elements of S. In this case r * s gets > handled as s._rmul_(r) and s * r as s._lmul_(r). > ... > The second sentence seems wrong. "rmul" and "lmul" seems reversed.
I think the sentence is correct: r*s means that s is on the right side, hence, s._rmul_(r), while s is on the left side in s*r, hence, s._lmul_(r). Cheers, Simon -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org