BROYDEN_ROUTINES Module


Uses

  • module~~broyden_routines~~UsesGraph module~broyden_routines BROYDEN_ROUTINES module~broyden_func_interface BROYDEN_FUNC_INTERFACE module~broyden_routines->module~broyden_func_interface

Used by

  • module~~broyden_routines~~UsedByGraph module~broyden_routines BROYDEN_ROUTINES module~sf_optimize SF_OPTIMIZE module~sf_optimize->module~broyden_routines module~scifor SCIFOR module~scifor->module~sf_optimize

Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: npar_arth = 16
integer, public, parameter :: npar2_arth = 8
procedure(broydn_func), public, pointer :: funcv

Functions

public function get_diag(mat) result(get_diag_dv)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(in), dimension(:,:) :: mat

Return Value real(kind=8), dimension(size(mat,1))

public function assert_eq2(n1, n2, string)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n1
integer, intent(in) :: n2
character(len=*), intent(in) :: string

Return Value integer

public function assert_eq4(n1, n2, n3, n4, string)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n1
integer, intent(in) :: n2
integer, intent(in) :: n3
integer, intent(in) :: n4
character(len=*), intent(in) :: string

Return Value integer

public function assert_eqn(nn, string)

Arguments

Type IntentOptional Attributes Name
integer, intent(in), dimension(:) :: nn
character(len=*), intent(in) :: string

Return Value integer

public function lower_triangle(j, k, extra)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: j
integer, intent(in) :: k
integer, intent(in), optional :: extra

Return Value logical, dimension(j,k)

public function outerdiff(a, b) result(outerdiff_i)

Arguments

Type IntentOptional Attributes Name
integer, intent(in), dimension(:) :: a
integer, intent(in), dimension(:) :: b

Return Value integer, dimension(size(a),size(b))

public function outerprod(a, b) result(outerprod_d)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(in), dimension(:) :: a
real(kind=8), intent(in), dimension(:) :: b

Return Value real(kind=8), dimension(size(a),size(b))

public function vabs(v)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(in), dimension(:) :: v

Return Value real(kind=8)

public function ifirstloc(mask)

Arguments

Type IntentOptional Attributes Name
logical, intent(in), dimension(:) :: mask

Return Value integer


Subroutines

public subroutine fdjac(x, fvec, df)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(inout), dimension(:) :: x
real(kind=8), intent(in), dimension(:) :: fvec
real(kind=8), intent(out), dimension(:,:) :: df

public subroutine lnsrch(xold, fold, g, p, x, f, stpmax, check, func)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(in), dimension(:) :: xold
real(kind=8), intent(in) :: fold
real(kind=8), intent(in), dimension(:) :: g
real(kind=8), intent(inout), dimension(:) :: p
real(kind=8), intent(out), dimension(:) :: x
real(kind=8), intent(out) :: f
real(kind=8), intent(in) :: stpmax
logical, intent(out) :: check
public function func(x)
Arguments
Type IntentOptional Attributes Name
real(kind=8), intent(in), dimension(:) :: x
Return Value real(kind=8)

public subroutine qrdcmp(a, c, d, sing)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(inout), dimension(:,:) :: a
real(kind=8), intent(out), dimension(:) :: c
real(kind=8), intent(out), dimension(:) :: d
logical, intent(out) :: sing

public subroutine qrupdt(r, qt, u, v)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(inout), dimension(:,:) :: r
real(kind=8), intent(inout), dimension(:,:) :: qt
real(kind=8), intent(inout), dimension(:) :: u
real(kind=8), intent(in), dimension(:) :: v

public subroutine rsolv(a, d, b)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(in), dimension(:,:) :: a
real(kind=8), intent(in), dimension(:) :: d
real(kind=8), intent(inout), dimension(:) :: b

public subroutine put_diag(diagv, mat)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(in), dimension(:) :: diagv
real(kind=8), intent(inout), dimension(:,:) :: mat

public subroutine unit_matrix(mat)

Arguments

Type IntentOptional Attributes Name
real(kind=8), intent(out), dimension(:,:) :: mat