|
| template<domain D> |
| D uint | rowSums (D bool mat) |
| |
| template<domain D> |
| D uint8 | rowSums (D uint8 mat) |
| |
| template<domain D> |
| D uint16 | rowSums (D uint16 mat) |
| |
| template<domain D> |
| D uint32 | rowSums (D uint32 mat) |
| |
| template<domain D> |
| D uint | rowSums (D uint mat) |
| |
| template<domain D> |
| D int8 | rowSums (D int8 mat) |
| |
| template<domain D> |
| D int16 | rowSums (D int16 mat) |
| |
| template<domain D> |
| D int32 | rowSums (D int32 mat) |
| |
| template<domain D> |
| D int | rowSums (D int mat) |
| |
| template<domain D> |
| D float32 | rowSums (D float32 mat) |
| |
| template<domain D> |
| D float64 | rowSums (D float64 mat) |
| |
Function for summing the rows of a matrix.
- Note
- D - all protection domains
-
Supported types - bool / uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int / float32 / float64
- Parameters
-
| mat | - a matrix of supported type |
- Returns
- returns a vector with the sums of each row in the input matrix
- Leakage
- None
◆ rowSums() [1/11]
template<domain D>
| D uint rowSums |
( |
D bool |
mat | ) |
|
◆ rowSums() [2/11]
template<domain D>
| D float32 rowSums |
( |
D float32 |
mat | ) |
|
◆ rowSums() [3/11]
template<domain D>
| D float64 rowSums |
( |
D float64 |
mat | ) |
|
◆ rowSums() [4/11]
template<domain D>
| D int rowSums |
( |
D int |
mat | ) |
|
◆ rowSums() [5/11]
template<domain D>
| D int16 rowSums |
( |
D int16 |
mat | ) |
|
◆ rowSums() [6/11]
template<domain D>
| D int32 rowSums |
( |
D int32 |
mat | ) |
|
◆ rowSums() [7/11]
template<domain D>
| D int8 rowSums |
( |
D int8 |
mat | ) |
|
◆ rowSums() [8/11]
template<domain D>
| D uint rowSums |
( |
D uint |
mat | ) |
|
◆ rowSums() [9/11]
template<domain D>
| D uint16 rowSums |
( |
D uint16 |
mat | ) |
|
◆ rowSums() [10/11]
template<domain D>
| D uint32 rowSums |
( |
D uint32 |
mat | ) |
|
◆ rowSums() [11/11]
template<domain D>
| D uint8 rowSums |
( |
D uint8 |
mat | ) |
|