Muller
sample Muller's potential
|
Muller's potential function. More...
#include <config.h>
#include <stdlib.h>
#include <jwsc/base/error.h>
#include <jwsc/matrix/matrix.h>
Go to the source code of this file.
Functions | |
mullers_potential | |
Computes Muller's potential. | |
Error * | mullers_potential_f (float *V_out, float x, float y) |
Calculates Muller's potential with single precision. | |
Error * | mullers_potential_d (double *V_out, double x, double y) |
Calculates Muller's potential with double precision. | |
grad_mullers_potential | |
Calculates the gradient of Muller's potential. | |
Error * | grad_mullers_potential_f (float *dx_V_out, float *dy_V_out, float x, float y) |
Calculates the gradient of Muller's potential with single precision. | |
Error * | grad_mullers_potential_d (double *dx_V_out, double *dy_V_out, double x, double y) |
Calculates the gradient of Muller's potential with double precision. | |
grad_matrix_mullers_potential | |
Calculates the gradient matrix of Muller's potential. | |
Error * | grad_matrix_mullers_potential_d (Matrix_d **gg_out, double x, double y) |
Calculates the gradient matrix of Muller's potential. | |
hessian_mullers_potential | |
Calculates the Hessian matrix of Muller's potential. | |
Error * | hessian_mullers_potential_f (Matrix_f **H_V_out, float x, float y) |
Calculates the Hessian matrix of Muller's potential with single precision. | |
Error * | hessian_mullers_potential_d (Matrix_d **H_V_out, double x, double y) |
Calculates the Hessian matrix of Muller's potential with single precision. |
Error* mullers_potential_f | ( | float * | V_out, |
float | x, | ||
float | y | ||
) |
Calculates Muller's potential with single precision.
V_out | Result parameter. Muller's potential evaluated at x,y. |
x | Input to evaluate Muller's potential at. |
y | Input to evaluate Muller's potential at. |
Definition at line 106 of file potential.c.
Error* mullers_potential_d | ( | double * | V_out, |
double | x, | ||
double | y | ||
) |
Calculates Muller's potential with double precision.
V_out | Result parameter. Muller's potential evaluated at x,y. |
x | Input to evaluate Muller's potential at. |
y | Input to evaluate Muller's potential at. |
Definition at line 144 of file potential.c.
Error* grad_mullers_potential_f | ( | float * | dx_V_out, |
float * | dy_V_out, | ||
float | x, | ||
float | y | ||
) |
Calculates the gradient of Muller's potential with single precision.
dx_V_out | Result parameter. Partial derivative of Muller's potential w.r.t. x. |
dy_V_out | Result parameter. Partial derivative of Muller's potential w.r.t. y. |
x | Input to evaluate the partial derivative of Muller's potential w.r.t. x at. |
y | Input to evaluate the partial derivative of Muller's potential w.r.t. y at. |
Definition at line 199 of file potential.c.
Error* grad_mullers_potential_d | ( | double * | dx_V_out, |
double * | dy_V_out, | ||
double | x, | ||
double | y | ||
) |
Calculates the gradient of Muller's potential with double precision.
dx_V_out | Result parameter. Partial derivative of Muller's potential w.r.t. x. |
dy_V_out | Result parameter. Partial derivative of Muller's potential w.r.t. y. |
x | Input to evaluate the partial derivative of Muller's potential w.r.t. x at. |
y | Input to evaluate the partial derivative of Muller's potential w.r.t. y at. |
Definition at line 259 of file potential.c.
Calculates the gradient matrix of Muller's potential.
gg_out | Result parameter. Partial derivatives of Muller's potential in a matrix. |
x | Input to evaluate the partial derivative of Muller's potential w.r.t. x at. |
y | Input to evaluate the partial derivative of Muller's potential w.r.t. y at. |
Definition at line 333 of file potential.c.
Calculates the Hessian matrix of Muller's potential with single precision.
H_V_out | Result parameter. Hessian matrix: second order partial derivatives of Muller's potential. |
x | Input to evaluate the partial derivative of Muller's potential w.r.t. x at. |
y | Input to evaluate the partial derivative of Muller's potential w.r.t. y at. |
Definition at line 393 of file potential.c.
Calculates the Hessian matrix of Muller's potential with single precision.
H_V_out | Result parameter. Hessian matrix: second order partial derivatives of Muller's potential. |
x | Input to evaluate the partial derivative of Muller's potential w.r.t. x at. |
y | Input to evaluate the partial derivative of Muller's potential w.r.t. y at. |
Definition at line 473 of file potential.c.