Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brainflow-dev/brainflow
/ rms
Function
rms
src/data_handler/inc/common_data_handler_helpers.h:6–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
#include <stdlib.h>
5
6
inline double rms (double x[], int n)
7
{
8
double sum = 0;
9
for (int i = 0; i < n; i++)
10
{
11
sum += x[i] * x[i];
12
}
13
return sqrt (sum / n);
14
}
15
16
inline double mean (double x[], int n)
17
{
Callers
1
get_oxygen_level
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected