Hi again - thanks for that excellent new function - it's amazingly compact and I think it may well do what I need - I am about to try modifying it to work in my context, and will let you know.
Am I to deduce from this that what I was originally trying to do (ie telescoping recursive variables) is not possible in Python? On Sat, Mar 30, 2013 at 12:43 PM, Jason Grout <[email protected]>wrote: > On 3/30/13 7:12 AM, Jason Grout wrote: > >> So to summarize your code, you're finding M=3 sets of d=3 mutually >> orthogonal vectors so that each pair of sets satisfies some criteria >> (your XRY function)? Do the sets have to be mutually exclusive? Your >> code doesn't enforce this, but your xRy function may imply it. Also, if >> you have an isotropic vector v (orthogonal to itself), then I suppose >> your code allows the set [v,v,v]. Is that what you want? >> > > Here's a more general function that I think (I haven't run the function) > finds *a* list of sets that I think satisfy your criteria. I think your > code finds all such sets, though. Is that what is really needed? > > https://gist.github.com/**jasongrout/5276508<https://gist.github.com/jasongrout/5276508> > > > Thanks, > > Jason > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "sage-support" group. > To unsubscribe from this topic, visit https://groups.google.com/d/** > topic/sage-support/**GFJdjFvKCvo/unsubscribe?hl=en<https://groups.google.com/d/topic/sage-support/GFJdjFvKCvo/unsubscribe?hl=en> > . > To unsubscribe from this group and all its topics, send an email to > sage-support+unsubscribe@**googlegroups.com<sage-support%[email protected]> > . > To post to this group, send email to [email protected]. > Visit this group at > http://groups.google.com/**group/sage-support?hl=en<http://groups.google.com/group/sage-support?hl=en> > . > For more options, visit > https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> > . > > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
