Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Input Format

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81189] Re: Input Format
  • From: "andre.robin3" <andre.robin3 at wanadoo.fr>
  • Date: Sat, 15 Sep 2007 04:08:11 -0400 (EDT)
  • References: <fcddht$omg$1@smc.vnet.net>

For this problem, I like this :

\!\(\*
  RowBox[{
    RowBox[{
      RowBox[{"functionsList", "=",
        RowBox[{"First", " ", "/@", " ", GridBox[{
              {"R"},
              {"S"},
              {"T"},
              {"U"}
              },
            GridFrame->True,
            RowLines->True,
            ColumnLines->True]}]}], ";"}],
    "\[IndentingNewLine]", \(Fold[#2[#1] &, data, functionsList]\)}]\)

It's very usefull for my private use.

But if you work with people who are not used to Mathematica,
Fold[#2[#1],data,{R,S,T,U}] would probably be obscure.

<roby.nowak at gmail.com> a écrit dans le message de news:
fcddht$omg$1 at smc.vnet.net...
> hello,
> I prefer using a line by line postfix notation for sequential data
> processing.
> e.g. there is some data which has to be processed sequentialy by a
> number of dataprocessing functions, if you input the whoole thing
Mathematica
> formats like this:
>
> data //
>     R //
>    S //
>   T //
>  U
>
> this is not very nice for my usage and results from the fact that
Mathematica
> generates \[IndentingNewLine] for every <RETURN> key pressed..
>
> i would rather had it formatted like this (or similar):
>
> data //
>     R //
>     S //
>     T //
>     U
>
> i could enter
>
> data//\[NewLine]\[RawTab]R//\[NewLine]\[RawTab]S//\[NewLine]\
> [RawTab]T//\[NewLine]\[RawTab]U
>
> but this is not realy a pleasure.
> is there a short way to key in \[NewLine] instead of \
> [IndentingNewLine]
>
> any suggestions ?
> thx robert
>
>




  • Prev by Date: Re: Timeout in HTML export?
  • Next by Date: Re: Input Format
  • Previous by thread: Re: Input Format
  • Next by thread: Re: Input Format