SetDelayed• lhs := rhs assigns rhs to be the delayed value of lhs. rhs is maintained in an unevaluated form. When lhs appears, it is replaced by rhs, evaluated afresh each time. • lhs := rhs returns Null if the assignment specified can be performed, and returns $Failed otherwise. • You can see all the assignments associated with a symbol lhs by evaluating ?lhs or by clicking on the Calculation controller. • See also: Clear, Set.
Examples Using InstantCalculatorsHere are the InstantCalculators for the SetDelayed function. Enter the parameters for your calculation and click Define to see the result. Plot f from 0 to 8 .
Plot f2 for x from to 2 and y from to 2 .
Entering Commands DirectlyYou can paste a template for this command via the Text Input button on the SetDelayed Function Controller. Define a custom function as . Values of the function at distinct points can be calculated.
Out[6]= |  |
A plot can be generated.
The function can be symbolically manipulated.
Out[8]= |  |
Multivariable functions can also be defined. This uses the ordinary mathematical notation for Exp.
Clear the function definitions.
|