Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Testing Mathematica Expressions?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg106698] Re: Testing Mathematica Expressions?
  • From: AES <siegman at stanford.edu>
  • Date: Thu, 21 Jan 2010 04:54:17 -0500 (EST)
  • Organization: Stanford University
  • References: <hiuusd$92o$1@smc.vnet.net> <hj131r$be8$1@smc.vnet.net> <201001191012.FAA28974@smc.vnet.net> <hj6qfb$8r0$1@smc.vnet.net>

In article <hj6qfb$8r0$1 at smc.vnet.net>,
 Andrzej Kozlowski <akozlowski at gmail.com> wrote:

> > I'd be glad to spend some time perusing and attempting to understand an 
> > example (the simple the better, of course) for which
> > 
> >     ToExpression["soks"] /. ruleOne  
> > 
> > and
> > 
> >     soks /. ruleOne
> > 
> > typed into separate Input cells under identical starting conditions, 
> > where 'soks' is a sequence of key strokes, yield differing results when 
> > evaluated.

> Unevaluated[x] /. x -> 3
> 
> Andrzej Kozlowski

You got me there.

But how about some simple expression that does not contain any 
Mathematica-unique syntax or commands -- just a sequence of input 
keystrokes that would be interpreted as a meaningful algebraic or 
mathematical expression by someone who was reasonably knowledgeable in 
math and algebra, but had never encountered Mathematica?


  • Prev by Date: Text Output
  • Next by Date: Re: Pagination when transferring Mathematica docs to PDF
  • Previous by thread: Re: Re: Testing Mathematica Expressions?
  • Next by thread: Re: Re: Testing Mathematica Expressions?