-- File: Powell.cdl -- Created: Tue May 14 16:47:51 1991 -- Author: Laurent PAINNOT -- ---Copyright: Matra Datavision 1991, 1992 class Powell from math ---Purpose: -- This class implements the Powell method to find the minimum of -- function of multiple variables (the gradient does not have to be known). uses Vector from math, Matrix from math, MultipleVarFunction from math, Status from math, OStream from Standard raises NotDone from StdFail, DimensionError from Standard is Create(F: in out MultipleVarFunction; StartingPoint: Vector; StartingDirections: Matrix; Tolerance: Real; NbIterations: Integer=200; ZEPS: Real=1.0e-12) ---Purpose: -- Computes Powell minimization on the function F given -- StartingPoint, and an initial matrix StartingDirection -- whose columns contain the initial set of directions. The -- solution F = Fi is found when 2.0 * abs(Fi - Fi-1) = --