|
| template<domain D :shared3p > |
| D float32 | vecLength (D float32 x) |
| |
| template<domain D :shared3p > |
| D float64 | vecLength (D float64 x) |
| |
Function for finding the length of a vector.
- Note
- D - shared3p protection domain
-
Supported types - float32 / float64
- Leakage
- None
◆ vecLength() [1/2]
template<domain D :shared3p >
| D float32 vecLength |
( |
D float32 |
x | ) |
|
- Parameters
-
| x | - vector of supported type |
- Returns
- returns the length of the vector
- Parameters
-
| x | - matrix of supported type |
- Returns
- returns a vector with length of each row in the matrix
◆ vecLength() [2/2]
template<domain D :shared3p >
| D float64 vecLength |
( |
D float64 |
x | ) |
|
- Parameters
-
| x | - vector of supported type |
- Returns
- returns the length of the vector
- Parameters
-
| x | - matrix of supported type |
- Returns
- returns a vector with length of each row in the matrix