SampleSolutions - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


RootFinding[Parametric]

  

SampleSolutions

  

solve a system for given parameter values

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

SampleSolutions(m, s, options)

SampleSolutions(m, p, options)

SampleSolutions(m, k, options)

Parameters

m

-

solution record, as returned by CellDecomposition

s

-

list of equations of the form parameter=rational number representing a point in parameter space

p

-

list of rational numbers representing a point in parameter space

k

-

positive integer; the index of a cell

options

-

(optional) solver options, see RootFinding[Isolate]

Description

• 

The SampleSolutions command computes all real solutions of the system

  

when the parameters are evaluated at the given point.

• 

Solutions are returned as a list of lists of equations of the form variable=number, or variable=[number,number] when the output=interval option is specified.

• 

The point can be specified in three different formats:

– 

as a list s of equations of the form parameter=rational number,

– 

as a list p of rational numbers, in which case the th parameter in m:-Parameters gets replaced by  for all , or

– 

as a cell index k, in which case the point is taken to be the th sample point in m:-SamplePoints.

• 

Any optional arguments are passed directly to RootFinding[Isolate].

• 

This command is part of the RootFinding[Parametric] package, so it can be used in the form SampleSolutions(..) only after executing the command with(RootFinding[Parametric]). However, it can always be accessed through the long form of the command by using RootFinding[Parametric][SampleSolutions](..).

Examples

(1)

The following three calling sequences are equivalent:

(2)

(3)

(4)

You can request the output in the form of isolating intervals instead of floating-point approximations using the option output=interval recognized by RootFinding[Isolate].

(5)

Solve the non-parametric system by substituting parameter values not corresponding to a sample point, and by requesting  digits of precision instead of the default of .

(6)

See Also

CellDecomposition

Parametric

RootFinding

RootFinding[Isolate]

 


Download Help Document