is_constant Interface

public interface is_constant

interface to check if an array is constant


Contents


Module Procedures

private function real_array_is_constant(array, tol)

Check if an array has constant values

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: array(:)

the real array to check

real(kind=dp), intent(in), optional :: tol

optional tolerance

Return Value logical