]> gitweb.michael.orlitzky.com - spline3.git/blobdiff - src/FunctionValues.hs
More minor doc fixes.
[spline3.git] / src / FunctionValues.hs
index 28f596b618e5dcd3c3c8acfb92103c2208691818..ed83f73336eac561b7d2450061ecd2bcf5709051 100644 (file)
@@ -8,8 +8,9 @@ import Prelude hiding (LT)
 import Cardinal
 
 -- | The FunctionValues type represents the value of our function f at
---   the 27 points surrounding the center of a cube. Each value of f
---   can be accessed by the name of its direction.
+--   the 27 points surrounding (and including) the center of a
+--   cube. Each value of f can be accessed by the name of its
+--   direction.
 data FunctionValues =
     FunctionValues { front  :: Double,
                      back   :: Double,
@@ -49,7 +50,7 @@ empty_values =
 --   FunctionValues type. Given a 'Cardinal' direction and a
 --   'FunctionValues' object, eval will return the value of the
 --   function f in that 'Cardinal' direction. Note that 'Cardinal' can
---   be a composite type; eval is what performs the "arithmetic" on
+--   be a composite type; eval is what performs the \"arithmetic\" on
 --   'Cardinal' directions.
 eval :: FunctionValues -> Cardinal -> Double
 eval f F = front f