Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6064

Re: delay evaluation inside RecurrencTable?

From Alan <alan.isaac@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: delay evaluation inside RecurrencTable?
Date 2011-10-31 11:50 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j8m220$rlb$1@smc.vnet.net> (permalink)
References <j8gms1$53k$1@smc.vnet.net> <j8j5fe$f7v$1@smc.vnet.net>

Show all headers | View raw


On Oct 30, 5:30 am, "Dr. Wolfgang Hintze" <w...@snafu.de> wrote:
> a[0] = 100; Table[a[k] = 0.8*a[k - 1] + RandomReal[{-1, 1}] , {k, 1,
> 20}]
>
> Each time you call the Table new random numbers are taken taken.



Now I am really puzzled.  Why does Table behave as I want,
but not RecurrenceTable?  Are both behaviors intentional?

Thanks,
Alan Isaac

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

delay evaluation inside RecurrencTable? Alan <alan.isaac@gmail.com> - 2011-10-29 11:08 +0000
  Re: delay evaluation inside RecurrencTable? "Dr. Wolfgang Hintze" <weh@snafu.de> - 2011-10-30 09:30 +0000
    Re: delay evaluation inside RecurrencTable? Alan <alan.isaac@gmail.com> - 2011-10-31 11:50 +0000
  Re: delay evaluation inside RecurrencTable? DrMajorBob <btreat1@austin.rr.com> - 2011-10-31 11:56 +0000

csiph-web