Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > 核心语言 > 规则与模式 > 规则 >

RuleDelayed

lhs:>rhslhsRuleDelayedrhs
表示将 lhs 转换为 rhs 的规则,仅当调用规则时计算 rhs
  • 您可以用 Replace 来应用规则。
  • lhs:=rhs 赋值指定无论何时都应使用规则 lhs->rhs
  • 当应用特定规则时,您可以用 Condition 来指定。
1 的新功能 | 3 中的修改功能
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team