Previous section-----Next section

SetParameters
2D/3D

SetParameters[rules] sets the values of existing parameters or adds new parameters to the current parameters list. Parameters are given as a list of rules. Each element of rules must be of the form symbol->number. SetParameters returns the entire parameters list.
SetParameters is also an option for
SetGuess and SolveCouple.

• New rules that are associated with the same symbols as rules that are currently in the parameters list replace those in the current list.
• New parameters are given the
Protected and Constant attributes.
• The Constant attribute allows expressions containing parameters to be differentiated with Dt.
• See also: ClearParameters, Parameterize, Parameters.

Further Examples

Load the Modeler2D package.

Add parameters to the system parameter list.

Remove some of the parameters and add some more.

Remove all the parameters.


Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information