FunctionApproximations`
FunctionApproximations`

PrintFlag

PrintFlag

is an option to MiniMaxApproximation and GeneralMiniMaxApproximation that specifies whether data from the successive iterates in the approximation algorithm are to be shown.

Details and Options

  • To use PrintFlag, you first need to load the Function Approximations Package using Needs["FunctionApproximations`"].
  • Valid settings are True and False. The default setting is False.
  • The PrintFlag option is useful when trying to determine what went wrong when the algorithm used by MiniMaxApproximation or GeneralMiniMaxApproximation fails.
  • With the setting PrintFlag->True, two types of lists are printed. The first type consists of a list of the changes in the locations of the extrema. The second type consists of a list of a pair of numbers indicating the location of the extrema and the value of the relative error at that extrema.