Function matrix_sum (o2scl)
¶
O2scl
:
Function List
template
<
class
mat_t
,
class
data_t
>
data_t
o2scl
::
matrix_sum
(
size_t
m
,
size_t
n
,
const
mat_t
&
data
)
¶
Compute the sum of matrix elements.
template
<
class
mat_t
,
class
data_t
>
data_t
o2scl
::
matrix_sum
(
const
mat_t
&
data
)
¶
Compute the sum of matrix elements.