hessian.h File Reference Introduction
Function Documentation◆ InitHessian()Initializes the Hessian deriving the Jacobian of a set of equations.
Definition at line 21 of file hessian.c. References CacheScalarEQUInfo(), DeriveEqualityEquations(), GetJacobianColumn(), GetJacobianSize(), and NEW. Referenced by InitDynamicSpace(), InitNHessian(), and RefineSingularPoint(). ◆ GetHessianNVars()
◆ GetHessianNEqs()
◆ AllocateHessianEvaluation()
Allocate space for the Hessian evaluation.
Definition at line 52 of file hessian.c. References NEW. Referenced by RefineSingularPoint(). ◆ AllocateHessianEvaluationAsVectors()
This is allocates the space in sub-matrices, one for each equation where each submatrix (of size nvars x nvars) is stored as a vector. This format is specific to speed up the execution of EvaluateHessianVector
Definition at line 65 of file hessian.c. References Error(), NEW, and NO_UINT. Referenced by EvaluateHessianVector(), EvaluateHessianVector2(), and InitDynamicSpace(). ◆ EvaluateHessian()
Evaluates the Hessian for a given value of the variables.
Definition at line 79 of file hessian.c. References EvaluateEqualityEquations(), FALSE, and NEW. Referenced by RefineSingularPoint(). ◆ EvaluateScalarHessian()
Evaluates the Hessian for a given value of the variables. Here the Hessian is supossed to include only the scalar part of a larger system and we implicitly assume that the scalar part is always the first part of the larger system. A Hessian with only the position scalar equations is obtained from a Jacobian including only these equations (see InitScalarPositionJacobian). This is the similar to EvaluateHessian but the output matrix m is organized in a different way. Instead of being numEqs x numVars x numVars it is numVars x numEqs x numVars and the (numEqs x numVars) matrices are stored as vectors. So, the matrix m IS NOT allocated with AllocateHessianEvaluationAsVectors but must be allocated by the caller
Definition at line 97 of file hessian.c. References EvaluateSubSetEqualitySparseEquations(), NEW, and RC2INDEX. Referenced by EvaluateNHessianVector2(). ◆ EvaluateHessianVector()
Evaluates H*v. This has to be interpreted as
were H[i][j] is the derivative of the whole set of equation with respect to variables i and j. That is, H[i][j] is a vector with as many elements as equations in the system. Then, H[i][] is a matrix of neqs x nvars elements and H[i][]*v is a vector of neqs elements. Such vectors for all variables i for a matrix of neqs x nvars elements.
Definition at line 131 of file hessian.c. References AllocateHessianEvaluationAsVectors(), EvaluateEqualitySparseEquations(), EvaluateSubSetEqualitySparseEquations(), FreeHessianEvaluationAsVectors(), MatrixVectorProduct(), NEW, NO_UINT, and SetColumn(). Referenced by EvaluateHessianVector2(). ◆ EvaluateHessianVector2()
Evaluates H*v*v. This has to be interpreted as
were H[i][j] is the derivative of the whole set of equation with respect to variables i and j. That is, H[i][j] is a vector with as many elements as equations in the system. Then, H[i][] is a matrix of neqs x nvars elements and H[i][]*v is a vector of neqs elements. Such vectors for all variables i form a matrix of neqs x nvars elements. This matrix, when multiplied by 'v' generate a vector (the output 'o') of neqs elements.
Definition at line 178 of file hessian.c. References AllocateHessianEvaluationAsVectors(), EvaluateHessianVector(), FreeHessianEvaluationAsVectors(), MatrixVectorProduct(), NEW, and NO_UINT. Referenced by ComputeAcceleration(). ◆ FreeHessianEvaluation()
Release space for the Hessian evaluation typically allocated using AllocateHessianEvaluation.
Definition at line 209 of file hessian.c. Referenced by RefineSingularPoint(). ◆ FreeHessianEvaluationAsVectors()
Release space for the Hessian evaluation typically allocated using AllocateHessianEvaluationAsVectors.
Definition at line 222 of file hessian.c. Referenced by DeleteDynamicSpace(), EvaluateHessianVector(), and EvaluateHessianVector2(). ◆ DeleteHessian()
Release a Hessian structure.
Definition at line 231 of file hessian.c. References DeleteEquations(). Referenced by DeleteAtlas(), DeleteDynamicSpace(), and DeleteNHessian(). |
Follow us!