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