unaryAbsFloor Module Function

pure module function unaryAbsFloor(input, realParams, intParams, logicalParams) result(output)

Floor value filter unary wrapper, uses the absolute value of the first real param as the floor value. The result it sign(input) * max(abs(input),abs(realParams(1)))

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in), dimension(:) :: input
real(kind=rk), intent(in), optional, dimension(:) :: realParams
integer(kind=ik), intent(in), optional, dimension(:) :: intParams
logical, intent(in), optional, dimension(:) :: logicalParams

Return Value real(kind=rk), allocatable, dimension(:)