Function matrix_minmax_index (o2scl)
¶
O2scl
:
Function List
template
<
class
mat_t
,
class
data_t
>
void
o2scl
::
matrix_minmax_index
(
size_t
n
,
size_t
m
,
const
mat_t
&
data
,
size_t
&
i_min
,
size_t
&
j_min
,
data_t
&
min
,
size_t
&
i_max
,
size_t
&
j_max
,
data_t
&
max
)
¶
Compute the minimum and maximum of a matrix and return their locations.