48 float max_lag_fraction = 0.4f);
60float variance(
const Array &array,
float *p_mean =
nullptr);
Declaration of the Array class for 2D floating-point arrays with various mathematical operations and ...
Definition algebra.hpp:23
float autocorr_length_scale(const Array &array, float max_lag_fraction=0.4f)
Estimate the isotropic dominant length scale of a 2D heightmap.
Definition autocorr_length_scale.cpp:13
glm::vec2 autocorr_length_scale_axial(const Array &array, float max_lag_fraction=0.4f)
Estimate axis-aligned dominant length scales of a 2D heightmap.
Definition autocorr_length_scale.cpp:65
float variance(const Array &array, float *p_mean=nullptr)
Compute the population variance of a 2D array.
Definition statistics.cpp:9