MathGroup Archive 1997

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

Search the Archive

Re: MatchQ

> 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:

MatchQ[E^(a*I*b), E^(I*freq_)]


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