Pascal J. Bourguignon p...@informatimago.com writes:
t...@sevak.isi.edu (Thomas A. Russ) writes:
This will only work if there is a backpointer to the parent.
No, you don't need backpointers; some cases have been mentionned in the
other answer, but in general:
(defun parent (tree
that are inherently
recursive and for which there is no natural iterative algorithm.
--
Thomas A. Russ, USC/Information Sciences Institute
--
http://mail.python.org/mailman/listinfo/python-list
stack in the iterative code. To
my mind that isn't really an iterative algorithm anymore if it ends up
simulating the call stack.
Tree walks are the canonical example of what can't be done in an
iterative fashion without the addition of an explicitly managed stack
--
Thomas A. Russ, USC
Hans Georg Schaathun h...@schaathun.net writes:
[Followup-To: header set to comp.lang.python.]
On 17 May 2011 23:42:20 -0700, Thomas A. Russ
t...@sevak.isi.edu wrote:
: Tree walks are the canonical example of what can't be done in an
: iterative fashion without the addition
to treat
percent (%) as a dimensionless unit with a conversion factor of 1/100.
--
Thomas A. Russ, USC/Information Sciences Institute
--
http://mail.python.org/mailman/listinfo/python-list
BartC b...@freeuk.com writes:
Thomas A. Russ t...@sevak.isi.edu wrote in message
news:ymi1v7vgyp8@blackcat.isi.edu...
torb...@diku.dk (Torben ZÆgidius Mogensen) writes:
Trigonometric functions do take arguments of particular units: radians
or (less often) degrees, with conversion
units (m/s, s, m).
--
Thomas A. Russ, USC/Information Sciences Institute
--
http://mail.python.org/mailman/listinfo/python-list
RG rnospa...@flownet.com writes:
More power to you. What are you doing here on cll then?
This thread is massively cross-posted.
--
Thomas A. Russ, USC/Information Sciences Institute
--
http://mail.python.org/mailman/listinfo/python-list
and my extension to it as part of the Loom system:
http://www.isi.edu/isd/LOOM/documentation/loom4.0-release-notes.html#Units
--
Thomas A. Russ, USC/Information Sciences Institute
--
http://mail.python.org/mailman/listinfo/python-list
interleave calls to the individual functions.
--
Thomas A. Russ, USC/Information Sciences Institute
--
http://mail.python.org/mailman/listinfo/python-list
10 matches
Mail list logo