Hedgehog


Internal Module

Namespace: Hedgehog

Assembly: Hedgehog.dll

Parent Module: Range

Functions and values

Function or value Description

clamp bound1 bound2 value

Full Usage: clamp bound1 bound2 value

Parameters:
    bound1 : 'a
    bound2 : 'a
    value : 'a

Returns: 'a

Truncate `value` so it stays within bounds.

bound1 : 'a
bound2 : 'a
value : 'a
Returns: 'a

scaleExponential lo hi sz origin bound

Full Usage: scaleExponential lo hi sz origin bound

Parameters:
    lo : ^a
    hi : ^a
    sz : Size
    origin : ^a
    bound : ^a

Returns: ^a

Scale an integral exponentially with the size parameter.

lo : ^a
hi : ^a
sz : Size
origin : ^a
bound : ^a
Returns: ^a

scaleLinear sz origin bound

Full Usage: scaleLinear sz origin bound

Parameters:
    sz : Size
    origin : ^a
    bound : ^a

Returns: ^a

Scale an integral linearly with the size parameter.

sz : Size
origin : ^a
bound : ^a
Returns: ^a