median Interface

public interface median

Median of array elements (Specification)


Contents

median_1_iint16_dp median_1_iint32_dp median_1_iint64_dp median_1_iint8_dp median_1_rdp_dp median_1_rsp_sp median_2_iint16_dp median_2_iint32_dp median_2_iint64_dp median_2_iint8_dp median_2_rdp_dp median_2_rsp_sp median_3_iint16_dp median_3_iint32_dp median_3_iint64_dp median_3_iint8_dp median_3_rdp_dp median_3_rsp_sp median_all_1_iint16_dp median_all_1_iint32_dp median_all_1_iint64_dp median_all_1_iint8_dp median_all_1_rdp_dp median_all_1_rsp_sp median_all_2_iint16_dp median_all_2_iint32_dp median_all_2_iint64_dp median_all_2_iint8_dp median_all_2_rdp_dp median_all_2_rsp_sp median_all_3_iint16_dp median_all_3_iint32_dp median_all_3_iint64_dp median_all_3_iint8_dp median_all_3_rdp_dp median_all_3_rsp_sp median_all_mask_1_iint16_dp median_all_mask_1_iint32_dp median_all_mask_1_iint64_dp median_all_mask_1_iint8_dp median_all_mask_1_rdp_dp median_all_mask_1_rsp_sp median_all_mask_2_iint16_dp median_all_mask_2_iint32_dp median_all_mask_2_iint64_dp median_all_mask_2_iint8_dp median_all_mask_2_rdp_dp median_all_mask_2_rsp_sp median_all_mask_3_iint16_dp median_all_mask_3_iint32_dp median_all_mask_3_iint64_dp median_all_mask_3_iint8_dp median_all_mask_3_rdp_dp median_all_mask_3_rsp_sp median_mask_1_iint16_dp median_mask_1_iint32_dp median_mask_1_iint64_dp median_mask_1_iint8_dp median_mask_1_rdp_dp median_mask_1_rsp_sp median_mask_2_iint16_dp median_mask_2_iint32_dp median_mask_2_iint64_dp median_mask_2_iint8_dp median_mask_2_rdp_dp median_mask_2_rsp_sp median_mask_3_iint16_dp median_mask_3_iint32_dp median_mask_3_iint64_dp median_mask_3_iint8_dp median_mask_3_rdp_dp median_mask_3_rsp_sp

Functions

private module function median_1_iint16_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_1_iint32_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_1_iint64_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_1_iint8_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_1_rdp_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_1_rsp_sp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=sp)

private module function median_2_iint16_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_2_iint32_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_2_iint64_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_2_iint8_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_2_rdp_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_2_rsp_sp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=sp)(merge(size(x,1),size(x,2),mask=1

private module function median_3_iint16_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_3_iint32_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_3_iint64_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_3_iint8_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_3_rdp_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_3_rsp_sp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in), optional :: mask

Return Value real(kind=sp)(merge(size(x,1),size(x,2),mask=1

private module function median_all_1_iint16_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_1_iint32_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_1_iint64_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_1_iint8_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_1_rdp_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_1_rsp_sp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:)
logical, intent(in), optional :: mask

Return Value real(kind=sp)

private module function median_all_2_iint16_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:,:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_2_iint32_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:,:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_2_iint64_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:,:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_2_iint8_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:,:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_2_rdp_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:,:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_2_rsp_sp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:,:)
logical, intent(in), optional :: mask

Return Value real(kind=sp)

private module function median_all_3_iint16_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:,:,:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_3_iint32_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:,:,:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_3_iint64_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:,:,:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_3_iint8_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:,:,:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_3_rdp_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:,:,:)
logical, intent(in), optional :: mask

Return Value real(kind=dp)

private module function median_all_3_rsp_sp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:,:,:)
logical, intent(in), optional :: mask

Return Value real(kind=sp)

private module function median_all_mask_1_iint16_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:)
logical, intent(in) :: mask(:)

Return Value real(kind=dp)

private module function median_all_mask_1_iint32_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:)
logical, intent(in) :: mask(:)

Return Value real(kind=dp)

private module function median_all_mask_1_iint64_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:)
logical, intent(in) :: mask(:)

Return Value real(kind=dp)

private module function median_all_mask_1_iint8_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:)
logical, intent(in) :: mask(:)

Return Value real(kind=dp)

private module function median_all_mask_1_rdp_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:)
logical, intent(in) :: mask(:)

Return Value real(kind=dp)

private module function median_all_mask_1_rsp_sp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:)
logical, intent(in) :: mask(:)

Return Value real(kind=sp)

private module function median_all_mask_2_iint16_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:,:)
logical, intent(in) :: mask(:,:)

Return Value real(kind=dp)

private module function median_all_mask_2_iint32_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:,:)
logical, intent(in) :: mask(:,:)

Return Value real(kind=dp)

private module function median_all_mask_2_iint64_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:,:)
logical, intent(in) :: mask(:,:)

Return Value real(kind=dp)

private module function median_all_mask_2_iint8_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:,:)
logical, intent(in) :: mask(:,:)

Return Value real(kind=dp)

private module function median_all_mask_2_rdp_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:,:)
logical, intent(in) :: mask(:,:)

Return Value real(kind=dp)

private module function median_all_mask_2_rsp_sp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:,:)
logical, intent(in) :: mask(:,:)

Return Value real(kind=sp)

private module function median_all_mask_3_iint16_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:,:,:)
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=dp)

private module function median_all_mask_3_iint32_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:,:,:)
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=dp)

private module function median_all_mask_3_iint64_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:,:,:)
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=dp)

private module function median_all_mask_3_iint8_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:,:,:)
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=dp)

private module function median_all_mask_3_rdp_dp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:,:,:)
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=dp)

private module function median_all_mask_3_rsp_sp(x, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:,:,:)
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=sp)

private module function median_mask_1_iint16_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:)

Return Value real(kind=dp)

private module function median_mask_1_iint32_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:)

Return Value real(kind=dp)

private module function median_mask_1_iint64_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:)

Return Value real(kind=dp)

private module function median_mask_1_iint8_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:)

Return Value real(kind=dp)

private module function median_mask_1_rdp_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:)

Return Value real(kind=dp)

private module function median_mask_1_rsp_sp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:)

Return Value real(kind=sp)

private module function median_mask_2_iint16_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:)

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_mask_2_iint32_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:)

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_mask_2_iint64_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:)

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_mask_2_iint8_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:)

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_mask_2_rdp_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:)

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_mask_2_rsp_sp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:)

Return Value real(kind=sp)(merge(size(x,1),size(x,2),mask=1

private module function median_mask_3_iint16_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int16), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_mask_3_iint32_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int32), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_mask_3_iint64_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int64), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_mask_3_iint8_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
integer(kind=int8), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_mask_3_rdp_dp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=dp), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=dp)(merge(size(x,1),size(x,2),mask=1

private module function median_mask_3_rsp_sp(x, dim, mask) result(res)

Arguments

TypeIntentOptionalAttributesName
real(kind=sp), intent(in) :: x(:,:,:)
integer, intent(in) :: dim
logical, intent(in) :: mask(:,:,:)

Return Value real(kind=sp)(merge(size(x,1),size(x,2),mask=1


Fortran-lang/stdlib was developed by fortran-lang/stdlib contributors
© 2022 Creative Commons License
b9c9b91

Documentation generated by FORD on 2022-06-20 19:57