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


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

Re: Linear combination of Bessel functions

From Simon <simonjtyler@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Linear combination of Bessel functions
Date 2011-09-14 09:19 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j4prjr$fms$1@smc.vnet.net> (permalink)
References <j4nesl$553$1@smc.vnet.net>

Show all headers | View raw


CoefficientList will do this, but I prefer CoefficientRules

In[1]:= CoefficientRules[
 r^2 + Cos[r] BesselJ[0, rho r] + 3 Sin[r] BesselJ[1, rho r] + 
  Log[r] BesselJ[2, rho r], Table[BesselJ[i, rho r], {i, 0, 2}]]

Out[1]= {{1, 0, 0} -> Cos[r], {0, 1, 0} -> 3 Sin[r], 
  {0, 0, 1} -> Log[r], {0, 0, 0} -> r^2}

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


Thread

Linear combination of Bessel functions Sam Takoy <sam.takoy@yahoo.com> - 2011-09-13 11:30 +0000
  Re: Linear combination of Bessel functions Simon <simonjtyler@gmail.com> - 2011-09-14 09:19 +0000

csiph-web