Commit 5a0824c0 authored by Davis King's avatar Davis King

Clarified spec

parent e7774a4c
...@@ -43,6 +43,8 @@ namespace dlib ...@@ -43,6 +43,8 @@ namespace dlib
double max_val double max_val
); );
/*! /*!
requires
- min_val <= max_val
ensures ensures
- Maps value to a color. In particular, we use a heatmap color scheme where - Maps value to a color. In particular, we use a heatmap color scheme where
values <= min_val are black and larger values become more red, then yellow, values <= min_val are black and larger values become more red, then yellow,
...@@ -95,6 +97,8 @@ namespace dlib ...@@ -95,6 +97,8 @@ namespace dlib
double max_val double max_val
); );
/*! /*!
requires
- min_val <= max_val
ensures ensures
- Maps value to a color. In particular, we use a jet color scheme where - Maps value to a color. In particular, we use a jet color scheme where
values <= min_val are dark blue and larger values become light blue, then values <= min_val are dark blue and larger values become light blue, then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment