Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

How to express a Product (special case) in Mathematica?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59094] How to express a Product (special case) in Mathematica?
  • From: vdavidster at gmail.com
  • Date: Thu, 28 Jul 2005 02:28:05 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

If you're familiar with the Lagrange interpolation polynomial, you'll
know that the coefficient term, phi, is defined as follows:

            n
phi_j (t) = TT     (t - t_i)
            i=0   -----------
            i!=j  (t_j - t_i)

Or in LaTeX notation:

\phi_j(t) = \prod^{n}_{\stackrel{i=0}{i \neq j}} \frac{(t - t_i)}{(t_j
- t_i)}

Or in graphical form:
http://mathworld.wolfram.com/LagrangeInterpolatingPolynomial.html

How do I do that in Mathematica?
How do I specify a product that skips a value in its iterator, i? (i.e.
i != j)

Thanks!

David


  • Prev by Date: Re: How to simplify an expression in version 5
  • Next by Date: Re: Simplification question
  • Previous by thread: Re: Problem with loading SuperWidgetPackage
  • Next by thread: Re: How to express a Product (special case) in Mathematica?