Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RenderKit/embree
/ getSigma
Method
getSigma
tutorials/common/tutorial/statistics.h:27–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
25
}
26
27
float getSigma() const
28
{
29
if (N == 0) return 0.0f;
30
else return (float) sqrt(max(0.0,v2/N - sqr(v/N)));
31
}
32
33
float getAvgSigma() const // standard deviation of average
34
{
Callers
2
renderBenchmarkLegacy
Function · 0.45
getSigma
Method · 0.45
Calls
3
sqrt
Function · 0.50
max
Function · 0.50
sqr
Function · 0.50
Tested by
no test coverage detected