|
| template<domain D :shared3p > |
| D uint | rowSums (D bool mat) |
| |
| template<domain D :shared3p > |
| D uint8 | rowSums (D uint8 mat) |
| |
| template<domain D :shared3p > |
| D uint16 | rowSums (D uint16 mat) |
| |
| template<domain D :shared3p > |
| D uint32 | rowSums (D uint32 mat) |
| |
| template<domain D :shared3p > |
| D uint | rowSums (D uint mat) |
| |
| template<domain D :shared3p > |
| D int8 | rowSums (D int8 mat) |
| |
| template<domain D :shared3p > |
| D int16 | rowSums (D int16 mat) |
| |
| template<domain D :shared3p > |
| D int32 | rowSums (D int32 mat) |
| |
| template<domain D :shared3p > |
| D int | rowSums (D int mat) |
| |
| template<domain D :shared3p > |
| D float32 | rowSums (D float32 mat) |
| |
| template<domain D :shared3p > |
| D float64 | rowSums (D float64 mat) |
| |
| template<domain D :shared3p > |
| D fix32 | rowSums (D fix32 mat) |
| |
| template<domain D :shared3p > |
| D fix64 | rowSums (D fix64 mat) |
| |
Function for summarizing the rows of a matrix.
- Note
- D - shared3p protection domain
-
Supported types - bool / uint8 / uint16 / uint32 / uint / int8 / int16 / int32 / int / float32 / float64 / fix32 / fix64
-
When adding boolean values, the numerical value of boolean is used
- 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/13]
template<domain D :shared3p >
| D uint rowSums |
( |
D bool |
mat | ) |
|
◆ rowSums() [2/13]
template<domain D :shared3p >
| D fix32 rowSums |
( |
D fix32 |
mat | ) |
|
◆ rowSums() [3/13]
template<domain D :shared3p >
| D fix64 rowSums |
( |
D fix64 |
mat | ) |
|
◆ rowSums() [4/13]
template<domain D :shared3p >
| D float32 rowSums |
( |
D float32 |
mat | ) |
|
◆ rowSums() [5/13]
template<domain D :shared3p >
| D float64 rowSums |
( |
D float64 |
mat | ) |
|
◆ rowSums() [6/13]
template<domain D :shared3p >
| D int rowSums |
( |
D int |
mat | ) |
|
◆ rowSums() [7/13]
template<domain D :shared3p >
| D int16 rowSums |
( |
D int16 |
mat | ) |
|
◆ rowSums() [8/13]
template<domain D :shared3p >
| D int32 rowSums |
( |
D int32 |
mat | ) |
|
◆ rowSums() [9/13]
template<domain D :shared3p >
| D int8 rowSums |
( |
D int8 |
mat | ) |
|
◆ rowSums() [10/13]
template<domain D :shared3p >
| D uint rowSums |
( |
D uint |
mat | ) |
|
◆ rowSums() [11/13]
template<domain D :shared3p >
| D uint16 rowSums |
( |
D uint16 |
mat | ) |
|
◆ rowSums() [12/13]
template<domain D :shared3p >
| D uint32 rowSums |
( |
D uint32 |
mat | ) |
|
◆ rowSums() [13/13]
template<domain D :shared3p >
| D uint8 rowSums |
( |
D uint8 |
mat | ) |
|