C Library Functions - minn (3)
NAME
minn(3f) - [M_datapac:STATISTICS] compute the minimum of a data vector
CONTENTS
Synopsis
Description
Input Arguments
Output Arguments
Examples
Author
Maintainer
License
References
SYNOPSIS
SUBROUTINE MINN(X,N,Iwrite,Xmin)
real(kind=wp),intent(in) :: X(:)
integer,intent(in) :: N
integer,intent(in) :: Iwrite
real(kind=wp),intent(out) :: Xmin
DESCRIPTION
MINN(3f) computes the sample minimum of the data in the input vector X.
INPUT ARGUMENTS
|
X |
The vector of (unsorted or sorted) observations.
|
|
N |
The integer number of observations in the vector X.
|
|
IWRITE |
An integer flag code which (if set to 0) will suppress
The printing of the sample minimum as it is computed; or (if set
to some integer value not equal to 0; like, say, 1) will cause
The printing of the sample minimum at the time it is computed.
|
|
OUTPUT ARGUMENTS
|
XMIN |
The value of the computed sample minimum.
|
|
EXAMPLES
Sample program:
program demo_min
use M_datapac, only : minn, label
implicit none
real :: xmin
call label(minn)
call minn([-100.0, 200.0, 0.0, 400.0, -200.0],5,1,xmin)
write(*,*)xmin
end program demo_min
AUTHOR
The original DATAPAC library was written by James Filliben of the Statistical
Engineering Division, National Institute of Standards and Technology.
MAINTAINER
John Urban, 2022.05.31
LICENSE
CC0-1.0
REFERENCES
|
o
|
David, Order Statistics, 1970, page 7.
|
|
| Nemo Release 3.1 | minn (3) | August 28, 2026 |
Generated by manServer 1.08 from c2ea9e6a-ef8b-45b5-ab23-822b674d9821 using man macros.