38#ifndef G4SimplexDownhill_hh
39#define G4SimplexDownhill_hh 1
65 G4double getValue(std::vector<G4double> x)
67 return target->GetValueOfMinimizingFunction(x);
71 std::vector<std::vector<G4double>> currentSimplex;
74 std::vector<G4double> currentHeights;
77 std::vector<G4double> calCentroid(
G4int);
81 std::vector<G4double> getReflectionPoint(std::vector<G4double>,
82 std::vector<G4double>);
83 std::vector<G4double> getExpansionPoint(std::vector<G4double>,
84 std::vector<G4double>);
85 std::vector<G4double> getContractionPoint(std::vector<G4double>,
86 std::vector<G4double>);
95 G4int numberOfVariable;
102 G4int maximum_no_trial;
105 std::vector<G4double> minimumPoint;
108#include "G4SimplexDownhill.icc"
std::vector< G4double > GetMinimumPoint()
G4SimplexDownhill(T *tp, G4int n)