Hi, I do want implement an action of matrices on polygons. But I want to store in which field the coordinates belong to (typically a number field). Now consider a concrete example with the field QQ and K = QQ[sqrt(2)]. By definition QQ embedds in QQ[sqrt(2)]. Let - p and m are respectively a polygon and a matrix with coefficients in QQ - P and M are respectively a polygon and a matrix with coefficients in K
I want to be able to do sage: m * P # answer should be polygon in K sage: M * p # answer should be polygon in K The first one works perfectly (through coercion I guess). Is it possible to make the second works as well ? Note: I am using Action from sage.categories.action and .register_action in the parent Thanks Vincent -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.