Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #3272 > unrolled thread
| Started by | Arturo Amador <arturo.amador@ntnu.no> |
|---|---|
| First post | 2011-06-24 11:44 +0000 |
| Last post | 2011-06-24 11:44 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: pattern example Arturo Amador <arturo.amador@ntnu.no> - 2011-06-24 11:44 +0000
| From | Arturo Amador <arturo.amador@ntnu.no> |
|---|---|
| Date | 2011-06-24 11:44 +0000 |
| Subject | Re: pattern example |
| Message-ID | <iu1tbl$9e9$1@smc.vnet.net> |
Hola Francisco,
I have copied/pasted the command you sent and I get the output from the book...
--
Arturo Amador Cruz
Stipendiat Norges Teknisk-Naturvitenskapelige Universitet (NTNU)
Institutt for Fysikk
Fakultet for Naturvitenskap og Teknologi
H=F8gskoleringen 5, Realfagbygget, E5-108
Telefon (735) 93366 NO-7491 TRONDHEIM
NORWAY
arturo.amador@ntnu.no
On Jun 23, 2011, at 1:25 PM, Francisco Gutierrez wrote:
> I find in Leonid's (Shiffrin) excellent book the following example (p. 122):
> f[3/5,4,5,2/3]/.f[x:(_Integer|_Rational)..]:>{x}
>
> According to the book, this returns {3/5,4,5,2/3}
>
> However, I get (Mathematica 8.0.1, Windows 7) f[3/5,4,5,2/3]
>
> What's wrong?
> Francisco
>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web