bandwidth Function

private pure function bandwidth(me)

Maximum bandwidth of the reordered . Returns -1 if not analyzed.

Type Bound

cholesky_minnorm_solver

Arguments

Type IntentOptional Attributes Name
class(cholesky_minnorm_solver), intent(in) :: me

Return Value integer


Called by

proc~~bandwidth~~CalledByGraph proc~bandwidth cholesky_minnorm_solver%bandwidth proc~nlesolver_solver nlesolver_type%nlesolver_solver proc~nlesolver_solver->proc~bandwidth

Source Code

    pure integer function bandwidth(me)

    class(cholesky_minnorm_solver),intent(in) :: me

    integer :: r

    if (me%analyzed) then
        bandwidth = 0
        do r = 1, me%m
            bandwidth = max(bandwidth, r - me%first(r))
        end do
    else
        bandwidth = -1
    end if

    end function bandwidth