powel_hybrid Subroutine

public subroutine powel_hybrid(fun, tol, X, F, info)

Uses

  • proc~~powel_hybrid~~UsesGraph proc~powel_hybrid powel_hybrid minpack_module minpack_module proc~powel_hybrid->minpack_module module~yaeos__auxiliar yaeos__auxiliar proc~powel_hybrid->module~yaeos__auxiliar module~yaeos__math_linalg yaeos__math_linalg proc~powel_hybrid->module~yaeos__math_linalg module~yaeos__constants yaeos__constants module~yaeos__auxiliar->module~yaeos__constants module~yaeos__math_linalg->module~yaeos__constants iso_fortran_env iso_fortran_env module~yaeos__constants->iso_fortran_env

powel_hybrid

Description

Solve a square nonlinear system with MINPACK’s Powell hybrid method.

Arguments

Type IntentOptional Attributes Name
public subroutine fun(n, x, fvec, iflag)

fun

Description

MINPACK residual callback for a square nonlinear system.

Arguments
Type IntentOptional Attributes Name
integer, intent(in) :: n

Number of unknowns and residuals.

real(kind=pr), intent(in) :: x(n)

Current unknown vector.

real(kind=pr), intent(out) :: fvec(n)

Residual vector.

integer, intent(inout) :: iflag

MINPACK callback control/status flag.

real(kind=pr), intent(in) :: tol

Convergence tolerance passed to MINPACK.

real(kind=pr), intent(inout) :: X(:)

Variables vector

real(kind=pr), intent(out) :: F(:)

Function values at solved point

integer, intent(out) :: info

MINPACK termination code.


Calls

proc~~powel_hybrid~~CallsGraph proc~powel_hybrid powel_hybrid hybrd1 hybrd1 proc~powel_hybrid->hybrd1

Variables

Type Visibility Attributes Name Initial
integer, public :: iwa(size(x))
integer, public :: lwa
integer, public :: m
integer, public :: n
real(kind=pr), public :: wa((size(X)*(3*size(X)+13))/2+5)