hessian.h
Go to the documentation of this file.
1 #ifndef HESSIANH
2 #define HESSIANH
3 
4 #include "variables.h"
5 #include "equations.h"
6 #include "jacobian.h"
7 
24 typedef struct {
25  unsigned int neqs;
26  unsigned int nvars;
29 } THessian;
30 
40 void InitHessian(TJacobian *j,THessian *h);
41 
42 
51 void AllocateHessianEvaluation(double ****m,THessian *h);
52 
62 void EvaluateHessian(double *v,double ***m,THessian *h);
63 
73 void FreeHessianEvaluation(double ***m,THessian *h);
74 
82 void DeleteHessian(THessian *h);
83 
84 #endif
void FreeHessianEvaluation(double ***m, THessian *h)
Release space for the Hessian evaluation.
Definition: hessian.c:64
Definition of the Tvariables type and the associated functions.
unsigned int neqs
Definition: hessian.h:25
Definition of the TJacobian type and the associated functions.
void DeleteHessian(THessian *h)
Destructor.
Definition: hessian.c:77
Tequations ** H
Definition: hessian.h:27
void AllocateHessianEvaluation(double ****m, THessian *h)
Allocate space for the Hessian evaluation.
Definition: hessian.c:33
void EvaluateHessian(double *v, double ***m, THessian *h)
Evaluates the Hessian.
Definition: hessian.c:46
Set of equations.
Definition: equations.h:81
unsigned int nvars
Definition: hessian.h:26
void InitHessian(TJacobian *j, THessian *h)
Constructor.
Definition: hessian.c:16
The Jacobian of a set of equations.
Definition: jacobian.h:23
Hessian of a set of equations.
Definition: hessian.h:24
Definition of the Tequations type and the associated functions.