mod_ssum Module

Sum up the first N elements of the real (kind=dp) array V(*) with a stepwidth of IV


Uses

    • mod_datatypes

Functions

public function ssum(n, v, iv)

License
Creative Commons License
Category
numerical-tools, KKRhost

Sum up the first N elements of the real (kind=dp) array V(*) with a stepwidth of IV

Arguments

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

Number of elements to sum over

real(kind=dp), intent(in), dimension(*) :: v

Input vector

integer, intent(in) :: iv

Stepwidth

Return Value real(kind=dp)