|
| template<domain D> |
| D float32 | standardDev (D int32 data, D bool mask) |
| |
| template<domain D> |
| D float64 | standardDev (D int64 data, D bool mask) |
| |
| template<domain D> |
| D float32 | standardDev (D float32 data, D bool mask) |
| |
| template<domain D> |
| D float64 | standardDev (D float64 data, D bool mask) |
| |
Find the standard deviation of a filtered sample.
- Note
- D - any protection domain
-
Supported types - int32 / int64 / float32 / float64
- Parameters
-
| data | - input sample (the function may overflow if the input is too big) |
| mask | - mask vector indicating which elements of the input sample to include when computing the standard deviation |
- Returns
- returns the standard deviation of the filtered input vector
- Leakage
- None
◆ standardDev() [1/4]
template<domain D>
| D float32 standardDev |
( |
D float32 |
data, |
|
|
D bool |
mask |
|
) |
| |
◆ standardDev() [2/4]
template<domain D>
| D float64 standardDev |
( |
D float64 |
data, |
|
|
D bool |
mask |
|
) |
| |
◆ standardDev() [3/4]
template<domain D>
| D float32 standardDev |
( |
D int32 |
data, |
|
|
D bool |
mask |
|
) |
| |
◆ standardDev() [4/4]
template<domain D>
| D float64 standardDev |
( |
D int64 |
data, |
|
|
D bool |
mask |
|
) |
| |