Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

Re: Sum of terms --> list

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127202] Re: Sum of terms --> list
  • From: bar at ANTYSPAM.ap.krakow.pl
  • Date: Sat, 7 Jul 2012 05:30:26 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <i0kig3$19f$1@smc.vnet.net>

I have found this thread, an I heve additional question about List@@

see on example:

----------
ClearAll["`*"]; 
B[z_] := 1/(2 - z) + 3/(4 - z) + 5/(6 - z); 
B[z] (*OK*)
LB[z_] := List @@ B[z]
LB[z] (*OK*)
LB[z] /. z -> 3 (*OK*)

LB[3]  (* NOT OK*)
------------------------


 LB[3] gives   11/3 - this is a sum of term again - why ?
Is a simply way to convert B[z] ---> LB[z] 
where LB[z] is a list of simple functions of z ?

greetings, Olaf 
 
 



  • Prev by Date: Text and picture side by side
  • Next by Date: Real integration help
  • Previous by thread: Text and picture side by side
  • Next by thread: Re: Sum of terms --> list