| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | x(:) |
function norm_1(x) result(norm) real(real64), intent(in) :: x(:) real(real64) :: norm #ifdef _MKL norm = dasum(int(size(x), int32), x, 1) #else norm = sum(abs(x)) #endif end function norm_1