# Index of values

 A add [Vz.Stat] `add s v` is the statistic `s` with value `v` added to the data. add_flip [Vz.Stat] `add_flip v s` is `add s v`. C clamp [Vz.Scale] `clamp s` is `true` if the map of `s` first clamps values to the scale domain before mapping them (ensures the map returns only values in the range). count [Vz.Stat] `count s` is the integral number of values in the data. D div [Vz.Colors] `div a w s b c m h0 h1 ()` is a function mapping the unit interval [`0;1`] to colors for a continuous diverging scheme with `0` returning the darkest color of `h0`, and `1` the darkest color of `h1`. div_d [Vz.Colors] `div_d a w s b c m h0 h1 n` is like `Vz.Colors.div` except it returns a discrete diverging scheme with `n` colors and `c` defaults to `min 0.88 (1.0 - 0.06 *. (11 - ((n / 2) + 1)))`. dom [Vz.Scale] `dom s` is the (possibly niced) domain of `s`. dom_raw [Vz.Scale] `dom s` is the unniced domain of `s`. dot [Vz.Mark] `dot w` is a dot of diameter `w`. F fold [Vz.Stat] `fold f acc` is `f` folded on the the data starting with `acc`. fold_ticks [Vz.Scale] `fold_ticks bounds n f acc scale` folds `f` over approximatevely `n` uniformly spaced values taken in `scale`'s domain using `Vz.Nice.step` to determine the step value. H htick [Vz.Mark] `htick l` is a horizontal tick of length `l`. L linear [Vz.Scale] `linear clamp nice (x0, x1) (y0, y1)` is the map that linearly transforms `x0` on `y0` and `x1` on `y1`. list [Vz.Stat] `list l` is the combined statistics of `l` on the data. M map [Vz.Scale] `map s` is the mapping function of `s`. max [Vz.Stat] `max f` is the maximum value of `f` on the data. mean [Vz.Stat] `mean nan f` is the mean of the values returned by `f` on the data. mean_var [Vz.Stat] `mean_var nan pop f` is the mean and unbiased sample variance of the values returned by `f` on the sample data. min [Vz.Stat] `min f` is the minimum value of `f` on the data. N nice [Vz.Scale] `nice s` is `true` if the bounds of `s` are niced. O ordinal [Vz.Scale] `ordinal cmp dom range` maps the value `dom`i to the value `range`i mod max with max `= List.length range - 1`. P partial_map [Vz.Scale] `partial_map s` is like `map s` except on ordinal scales it returns `None` on undefined argument. Q qual_d [Vz.Colors] `qual_d eps r s b c n` is a qualitative scheme with `n` colors. qual_fixed [Vz.Colors] `qual_fixed size q` is fixed qualitative color scheme `q` with `size` colors (defaults to `qual_fixed_size q`) and alpha component `a` (defaults to `1`). qual_fixed_size [Vz.Colors] `qual_fixed_size q` is the maximal number of colors in `qf`. R range [Vz.Scale] `range s` is the range of `s`. range [Vz.Stat] `range f` is the range of `f` on the data, equivalent to `t2 (min f) (max f)`. range_bands [Vz.Scale] range_d [Vz.Stat] `range_d cmp f` is the discrete range of `f`, the set of values returned by `f` on the data. range_pts [Vz.Scale] S seq [Vz.Colors] `seq a w s b c h ()` is a function mapping the unit interval [`0;1`] to colors with a continuous sequential scheme where `0` is the darkest color and `1` the lightest. seq_d [Vz.Colors] `seq_d a w s b c h n` is like `Vz.Colors.seq` except it returns a discrete sequential scheme with `n` colors and `c` defaults to `min 0.88 (0.34 +. 0.06. * n)`. square [Vz.Mark] `square w` is a square of side `w`. step [Vz.Nice] `step n v0 v1` is a nice step size for sampling the directed interval [`v0`;`v1`] approximatively `n` times. step_ceil [Vz.Nice] `step_ceil step v` is the smallest `v'` such that `v <= v'` and `v'` ∈ Q(`step`). step_floor [Vz.Nice] `step_floor step v` is the greatest `v'` such that `v' <= v` and `v'` ∈ Q(`step`). step_fold [Vz.Nice] `step_fold step f acc v0 v1` folds `f` over set of numbers Q(`step`) ∩ [`v0`;`v1`]. step_inset [Vz.Nice] `step_inset step v0 v1` shrinks the directed interval [`v0`;`v1`] to `(v0',v1')` ∈ Q(`step`)2 where `v0'` (resp. step_outset [Vz.Nice] `step_outset step v0 v1` expands the directed interval [`v0`;`v1`] to `(v0',v1')` ∈ Q(`step`)2 where `v0'` (resp. step_round [Vz.Nice] `step_round step v` is either `step_floor v` or `ceil_floor v` whichever is the nearest. sum [Vz.Stat] `sum nan f` is the sum of the values returned by `f` on the data. T t2 [Vz.Stat] `t2 s1 s2` is the combined statistics of `s1` and `s2` on the data. t3 [Vz.Stat] `t3 s1 s2 s3` is the combined statistics of `s1`, `s2` and `s3` on the data. t4 [Vz.Stat] `t4 s1 s2 s3 s4` is the combined statistics of `s1`, `s2`, `s3` and `s4` on the data. t5 [Vz.Stat] `t5 s1 s2 s3 s4 s5` is the combined statistics of `s1`, `s2`, `s3`, `s4` and `s5` on the data. V value [Vz.Stat] `value s` is the value of statistic `s`. vtick [Vz.Mark] `vtick l` is a vertical tick of length `l`.