MathGroup Archive 2012

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

Search the Archive

Re: new functional operator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125361] Re: new functional operator
  • From: roby <roby.nowak at gmail.com>
  • Date: Fri, 9 Mar 2012 06:09:38 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <jit0me$e32$1@smc.vnet.net> <jivd47$n7j$1@smc.vnet.net> <jj9ur8$dtl$1@smc.vnet.net>

Ok, next version.

One can look for an prefix operator with no buit in meaning to modify
the function in question such that it acts mapping,
this way we can use the standard // postfix operator and just modify
the behavoir of the function:


\[Del] fn_ := fn /@ # &

{1,2,3,4}//\[Del]f//\[Del]g

Out[5]= {g[f[1]], g[f[2]], g[f[3]], g[f[4]]}

(looks all nice in a Notebook)



Robert



  • Prev by Date: Re: much power to mathematica
  • Next by Date: Re: Dr. Lynchs book Dynamical Systems with Applications using Mathematica
  • Previous by thread: Re: new functional operator
  • Next by thread: Re: new functional operator