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

MathGroup Archive 1997

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

Search the Archive

Re: MatchQ

  • To: mathgroup at smc.vnet.net
  • Subject: [mg8595] Re: [mg8542] MatchQ
  • From: mabi at solidmr.kun.nl (Marlies Brinksma)
  • Date: Tue, 9 Sep 1997 03:07:13 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

> 
> Hello,
> 
> Can anybody explain me why 
> 
> MatchQ[E^(a*I*b), E^(I*freq_)] gives False ???
> 
> (while for instance MatchQ[E^(a*I*b), E^(a*freq_)] gives True)
> 
> What patterns  should be used for expressions with I ?
> 
> 
> Many thanks,
>                 Raya Khanin


Hi Raya,

When I tried your input I got a different result:

In[3]:=
MatchQ[E^(a*I*b), E^(I*freq_)]

Out[3]=
True

Did you change the Attributes of the built-in function Times[]?

Best regards,

Marlies Brinksma


  • Prev by Date: Re: Something like Flatten
  • Next by Date: Re: Re: Defining Real Expressions
  • Previous by thread: Re: MatchQ
  • Next by thread: Re: MatchQ