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