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


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

Difference table via DifferenceDelta[ ]. Why do I need two Table[ ] calls?

From "Christopher O. Young" <cy56@comcast.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Difference table via DifferenceDelta[ ]. Why do I need two Table[ ] calls?
Date 2011-08-31 11:41 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j3l6l1$d81$1@smc.vnet.net> (permalink)

Show all headers | View raw


The following gives me a difference table for x^3, but it would be nice if I
could do it with only 1 Table call.

Grid[
 Table[
  Table[
    DifferenceDelta[x^3, {x, n}] // Evaluate,
   {x, -6, 6 - n + 1}
   ]
  , {n, 1, 3}
  ],
 Alignment -> Right
 ]

The following hangs up, though. I have to abort it after several minutes of
nothing happening.

Table[
 DifferenceDelta[x^3, {x, n}] // Evaluate,
 {x, -6, 6},
 {n, 1, 3}
]

Any help appreciated.

Chris Young
cy56@comcast.net

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


Thread

Difference table via DifferenceDelta[ ]. Why do I need two Table[ ] calls? "Christopher O. Young" <cy56@comcast.net> - 2011-08-31 11:41 +0000
  Re: Difference table via DifferenceDelta[ ]. Why do I need two Table[ ] calls? Christopher Young <cy56@comcast.net> - 2011-09-02 07:31 +0000
  Re: Difference table via DifferenceDelta[ ]. Why do I need two Table[ ] calls? "Alexey Popkov" <lehin.p@gmail.com> - 2011-09-02 07:30 +0000

csiph-web