Tune.Space.Float (Tune v0.5.0)

Copy Markdown View Source

A linear or logarithmic floating-point value space.

Summary

Types

t()

@type t() :: %Tune.Space.Float{log?: boolean(), max: float(), min: float()}

Functions

new(min, max, log?)

@spec new(number(), number(), boolean()) :: {:ok, t()} | {:error, Exception.t()}