Function matrix_max_index (o2scl)
¶
O2scl
:
Function List
template
<
class
mat_t
,
class
data_t
>
void
o2scl
::
matrix_max_index
(
size_t
m
,
size_t
n
,
const
mat_t
&
data
,
size_t
&
i_max
,
size_t
&
j_max
,
data_t
&
max
)
¶
Compute the maximum of a matrix and return the indices of the maximum element.
template
<
class
mat_t
,
class
data_t
>
void
o2scl
::
matrix_max_index
(
const
mat_t
&
data
,
size_t
&
i_max
,
size_t
&
j_max
,
data_t
&
max
)
¶
Compute the maximum of a matrix and return the indices of the maximum element.