Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10332

Re: new functional operator

From Rui <rui.rojo@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: new functional operator
Date 2012-06-03 09:00 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jqf93u$a45$1@smc.vnet.net> (permalink)
References <jjfd6e$7u7$1@smc.vnet.net> <jjpakk$ov1$1@smc.vnet.net>

Show all headers | View raw


On Wednesday, March 28, 2012 6:57:09 AM UTC-3, roby wrote:
> Well, here I have an "almost perfect" postfix solution. Enjoy.
> 
> In[11]:=     "}4,3,2,1{@/soC@/niS@/naT" // StringReverse //
> ToExpression
> 
> Out[11]=     {Tan[Sin[Cos[1]]], Tan[Sin[Cos[2]]], Tan[Sin[Cos[3]]],
> Tan[Sin[Cos[4]]]}
> 
> Robert

Could be nicely extended to allow for subscripting with the level specification of the map

MakeExpression[RowBox[{l_, UnderscriptBox["//", i_], r_}], 
  form : StandardForm] := 
 MakeExpression[
  RowBox[{"Map", "[", RowBox[{r, ",", l, ",", i}], "]"}], form]

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: new functional operator Bill Rowe <readnews@sbcglobal.net> - 2012-03-10 11:16 +0000
  Re: new functional operator roby <roby.nowak@gmail.com> - 2012-03-14 05:34 +0000
    Re: new functional operator John Doty <noqsiaerospace@gmail.com> - 2012-03-18 07:43 +0000
      Re: new functional operator roby <roby.nowak@gmail.com> - 2012-03-20 07:19 +0000
    Re: new functional operator John Doty <noqsiaerospace@gmail.com> - 2012-03-21 10:47 +0000
    Re: new functional operator DrMajorBob <btreat1@austin.rr.com> - 2012-03-21 10:48 +0000
      Re: new functional operator roby <roby.nowak@gmail.com> - 2012-03-22 10:51 +0000
    Re: new functional operator Barrie Stokes <Barrie.Stokes@newcastle.edu.au> - 2012-03-22 10:54 +0000
      Re: new functional operator roby <roby.nowak@gmail.com> - 2012-03-23 06:33 +0000
    Re: new functional operator DrMajorBob <btreat1@austin.rr.com> - 2012-03-24 07:05 +0000
      Re: new functional operator Ray Koopman <koopman@sfu.ca> - 2012-03-25 05:15 +0000
    Re: new functional operator Barrie Stokes <Barrie.Stokes@newcastle.edu.au> - 2012-03-26 06:51 +0000
      Re: new functional operator roby <roby.nowak@gmail.com> - 2012-03-28 09:57 +0000
    Re: new functional operator Rui <rui.rojo@gmail.com> - 2012-06-03 09:00 +0000
    Re: new functional operator Rui <rui.rojo@gmail.com> - 2012-06-03 09:05 +0000

csiph-web