slsqp_support Module

Support routines for SLSQP. For example, routines from [BLAS](http: These have also been refactored into modern Fortran.


Uses

  • module~~slsqp_support~~UsesGraph module~slsqp_support slsqp_support module~slsqp_kinds slsqp_kinds module~slsqp_support->module~slsqp_kinds iso_fortran_env iso_fortran_env module~slsqp_kinds->iso_fortran_env

Used by

  • module~~slsqp_support~~UsedByGraph module~slsqp_support slsqp_support module~bvls_module bvls_module module~bvls_module->module~slsqp_support module~slsqp_core slsqp_core module~slsqp_core->module~slsqp_support module~slsqp_core->module~bvls_module module~slsqp_module slsqp_module module~slsqp_module->module~slsqp_support module~slsqp_module->module~slsqp_core

Variables

Type Visibility Attributes Name Initial
real(kind=wp), public, parameter :: epmach = epsilon(1.0_wp)
real(kind=wp), public, parameter :: zero = 0.0_wp
real(kind=wp), public, parameter :: one = 1.0_wp
real(kind=wp), public, parameter :: two = 2.0_wp
real(kind=wp), public, parameter :: four = 4.0_wp
real(kind=wp), public, parameter :: ten = 10.0_wp
real(kind=wp), public, parameter :: hun = 100.0_wp

Functions

public pure function ddot(n, dx, incx, dy, incy)

forms the dot product of two vectors. uses unrolled loops for increments equal to one.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n
real(kind=wp), intent(in), dimension(*) :: dx
integer, intent(in) :: incx
real(kind=wp), intent(in), dimension(*) :: dy
integer, intent(in) :: incy

Return Value real(kind=wp)

public pure function dnrm2(n, x, incx) result(norm)

Function that returns the Euclidean norm of a vector .

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n
real(kind=wp), intent(in), dimension(*) :: x
integer, intent(in) :: incx

Return Value real(kind=wp)


Subroutines

public pure subroutine daxpy(n, da, dx, incx, dy, incy)

constant times a vector plus a vector. uses unrolled loops for increments equal to one.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n
real(kind=wp), intent(in) :: da
real(kind=wp), intent(in), dimension(*) :: dx
integer, intent(in) :: incx
real(kind=wp), intent(inout), dimension(*) :: dy
integer, intent(in) :: incy

public pure subroutine dcopy(n, dx, incx, dy, incy)

copies a vector, x, to a vector, y. uses unrolled loops for increments equal to one.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n
real(kind=wp), intent(in), dimension(*) :: dx
integer, intent(in) :: incx
real(kind=wp), intent(out), dimension(*) :: dy
integer, intent(in) :: incy

public pure subroutine dscal(n, da, dx, incx)

scales a vector by a constant. uses unrolled loops for increment equal to one.

Read more…

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n
real(kind=wp), intent(in) :: da
real(kind=wp), intent(inout), dimension(*) :: dx
integer, intent(in) :: incx