FieldTrip-0.2: Functional 3DSource codeContentsIndex
Graphics.FieldTrip.Misc
Stabilityexperimental
Maintainerconal@conal.net
Description
Miscellany for FieldTrip graphics
Synopsis
type R = Float
fracPart :: R -> R
type Unop a = a -> a
type Binop a = a -> a -> a
logMemo :: forall s a. (Floating s, RealFrac s) => s -> (s -> a) -> s -> a
Documentation
type R = FloatSource
Values commonly used for coordinates, coefficients, etc.
fracPart :: R -> RSource
Fractional portion, x - floor x
type Unop a = a -> aSource
Unary operations
type Binop a = a -> a -> aSource
Binary operations
logMemo :: forall s a. (Floating s, RealFrac s) => s -> (s -> a) -> s -> aSource
Memoize an approximation to a given function, discretizing its domain by scaling. An input x discretizes into round (logBase base x).
Produced by Haddock version 2.3.0