Function vector_minmax (o2scl)
¶
O2scl
:
Function List
template
<
class
vec_t
,
class
data_t
>
void
o2scl
::
vector_minmax
(
size_t
n
,
vec_t
&
data
,
size_t
&
ix_min
,
data_t
&
min
,
size_t
&
ix_max
,
data_t
&
max
)
¶
Compute the minimum and maximum of the first
n
elements of a vector.