VEX Dictionary / variance
variance
Returns the variance of a shading variable over nearby samples, also writing out the mean and the sample count.
group: samplingmath
Available in every context
Usage
float variance(float variable, float &mean, int &sample_size)
Examples
No worked examples yet.
Signatures (from vcc -X)
float variance(float, float &, int &)all contexts