On Thu, Jul 14, 2011 at 7:39 PM, Johannes <dajo.m...@web.de> wrote: > Hi list, > i have given a finite set of points (lets call it V \subset ZZ^n) and > have to express some other points p_0,\dots,p_k \in ZZ^n as affine (or > convex) combination of elements from V. > How can i do this? > I tried it with span(ZZ,V) but that leads to ZZ^n and the p_i are > written with respect to the default basis. > otherwise i tried it with the sage.geometry.triangulation module, but > i'm not sure if i used it the right way.
Can you provide an explicit example, for example some Sage code one can paste in that defines your points in a simple situation? This always makes answering questions easier... > > greatz Johannes > > -- > 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 > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- 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