oint is that there are algorithms 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
"Pascal J. Bourguignon" 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 gen
Hans Georg Schaathun writes:
> ["Followup-To:" header set to comp.lang.python.]
> On 17 May 2011 23:42:20 -0700, Thomas A. Russ
>wrote:
> : Tree walks are the canonical example of what can't be done in an
> : iterative fashion without the addition of an ex
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, US
"BartC" writes:
> "Thomas A. Russ" 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
nless. Interestingly, that also allows one 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
RG 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
0mi
even when the internal representation is in SI units (m/s, s, m).
--
Thomas A. Russ, USC/Information Sciences Institute
--
http://mail.python.org/mailman/listinfo/python-list
=150168>
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
you can
use simultaneously?
The lisp snippet creates new functions each time the addn function is
called, so one can 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