ssum Function

public function ssum(n, v, iv)

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)