gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
ConjugateGradients.h
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 
6 #ifndef CONJUGATE_GRADIENTS_H
7 #define CONJUGATE_GRADIENTS_H
8 
9 #include <vector>
10 
11 double GradientDescent(void (*func)(std::vector<double> &x, double &Obj,
12  bool needGrad, std::vector<double> &gradObj,
13  void *),
14  std::vector<double> &x,
15  void *data); // User data
16 
17 #endif
GradientDescent
double GradientDescent(void(*func)(std::vector< double > &x, double &Obj, bool needGrad, std::vector< double > &gradObj, void *), std::vector< double > &x, void *data)
Definition: ConjugateGradients.cpp:120