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


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

keep special functions unexpanded

From metrologuy <takacs@bnl.gov>
Newsgroups comp.soft-sys.math.mathematica
Subject keep special functions unexpanded
Date 2013-07-20 09:56 +0000
Message-ID <ksdmsm$50s$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


I am trying to create a list of ChebyshevT[n,x] polynomials of different orders to use as basis functions in a fitting routine. I want to keep the list in the form that explicitly shows the order number. For example, I want the list for order n=2 to look like this:
  basislist={ChebyshevT[0,x],ChebyshevT[1,x],ChebyshevT[2,x]}.
If I use Table to generate the list, I get each function expanded into a polynomial in x:

In[1]:= Table[ChebyshevT[i,x],{i,0,2}]

Out[1]= {1,x,-1+2 x^2}

How can I prevent the function from displaying the expanded form for each value of n? If I use the unexpanded form in the Fit[] function, it works just fine. But I lose the visual connection to the explicit order number in the input form of the function. Any suggestions how to keep the "n" visible?

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


Thread

keep special functions unexpanded metrologuy <takacs@bnl.gov> - 2013-07-20 09:56 +0000
  Re: keep special functions unexpanded David Bailey <dave@removedbailey.co.uk> - 2013-07-21 08:15 +0000
  Re: keep special functions unexpanded Bob Hanlon <hanlonr357@gmail.com> - 2013-07-22 01:34 +0000
    Re: keep special functions unexpanded David Bailey <dave@removedbailey.co.uk> - 2013-07-23 21:15 +0000
  Re: keep special functions unexpanded Bob Hanlon <hanlonr357@gmail.com> - 2013-07-25 01:59 +0000
  Re: keep special functions unexpanded metrologuy <takacs@bnl.gov> - 2013-07-27 09:33 +0000

csiph-web