p.. 或 Repeated[p] 是一个模式对象,表示一个或多个表达式的序列,每个表达式匹配 p.
Repeated[p, max] 最多有 max 个表达式与 p 相匹配.
Repeated[p, {min, max}] 表示有 min 到 max 个表达式与 p 相匹配.
Repeated[p, {n}] 表示恰好有 n 个表达式与 p 相匹配.
用 替代 列表:
用一个自变量替换 的列表:
RepeatedNull BlankSequence PatternSequence Longest Shortest StringExpression
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »