Periodic functions & attributes

*To*: mathgroup at smc.vnet.net*Subject*: [mg53788] Periodic functions & attributes*From*: "Scout" <user at domain.com>*Date*: Thu, 27 Jan 2005 05:41:28 -0500 (EST)*Sender*: owner-wri-mathgroup at wolfram.com

Hi all! 2 questions: 1) How can I declare a periodic function? That is of the type f[x+T] = f[x] for x in Real. I want to be able to simplify integral of the type: Integrated [f[x], {x, h_Integer * T, k_Integer * T}] = (k-h) * Integrated [f[x], {x, 0, T}] Writing: setPeriodicFunction /: Integrated [ setPeriodicFunction[f_Function, T_], {x_Symbol, h_Integer.T, k_Integer.T}] := (k - h)Integrate[f, {x, 0, T}]; I don't get a lot! 2) Can I define my own attributes that can be assigned to symbol f (functions,...)? As for instance: Flat,Listable,ecc. Thanks a lot! ~Scout~