Mathematica 9 is now available

MatchQ

Usage

MatchQ[expr, form] 用来判断模式 form 是否与 expr匹配,若匹配则返回True,否则返回False.


Notes

• 参见Mathematica 全书: 2.3.5节.
• 同时参见: StringMatchQ.
Further Examples

A pattern that doesn't match and some that do.

In[1]:=  

Out[1]=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.