Testing that the elements are a list are exponential

*To*: mathgroup at smc.vnet.net*Subject*: [mg32178] Testing that the elements are a list are exponential*From*: guillerm at usal.es*Date*: Fri, 4 Jan 2002 05:03:53 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Dear friends, I have a make a function where all element of a list should be exponentials or cero. Here is an example lst1 = { 0, 1.4 Exp [-3 t] + 1.2 Exp [- t], 0, 0.24 Exp [a t]} F[x_] := x /. a_*E^(s_*t) -> (a*(-1 + E^(s*t)))/s It works F[lst1] But I need define F[x_?Test] where ?Test check that all element of list are exponentials or cero. How I can build the test? HNY every boy Guillermo Sanchez --------------------------------------------- This message was sent using Endymion MailMan. http://www.endymion.com/products/mailman/