Assignment and Rules¶
24 built-in function(s) in this category.
AddTo— AddTo[x, dx] or x += dx (Stable)Clear— Clear[s1, s2, ...] (Stable)ClearAll— ClearAll[s1, s2, ...] (Stable)CompoundExpression— expr1; expr2; ... evaluates its arguments in sequence, returning the last result. (Stable)Decrement— Decrement[x] or x-- (Stable)DownValues— DownValues[s] gives a list of down-value rules for s. (Stable)Increment— Increment[x] or x++ (Stable)OwnValues— OwnValues[s] gives a list of own-value rules for s. (Stable)PreDecrement— PreDecrement[x] or --x (Stable)PreIncrement— PreIncrement[x] or ++x (Stable)Protect— Protect[s1, s2, ...] (Stable)Remove— Remove[s1, s2, ...] (Stable)Replace— Replace[expr, rules] (Stable)ReplaceAll— expr /. rules or ReplaceAll[expr, rules] (Stable)ReplaceAt— ReplaceAt[expr, rules, n] (Stable)ReplaceList— ReplaceList[expr, rules] attempts to transform the entire expression expr by applying a rule or list of rules in all possible ways, and returns a list of the results obtained. (Stable)ReplaceRepeated— expr //. rules or ReplaceRepeated[expr, rules] (Experimental)Rule— lhs -> rhs or Rule[lhs, rhs] (Stable)RuleDelayed— lhs :> rhs or RuleDelayed[lhs, rhs] (Experimental)Set— lhs = rhs or Set[lhs, rhs] (Stable)SetDelayed— lhs := rhs or SetDelayed[lhs, rhs] (Stable)SubtractFrom— SubtractFrom[x, dx] or x -= dx (Stable)Unprotect— Unprotect[s1, s2, ...] (Stable)Unset— Unset[lhs] or lhs =. (Stable)