descore ~master (2015-04-21T20:17:28Z)
Dub
Repo
ValueLimiter.setNorm
des
math
util
valuelim
ValueLimiter
struct
ValueLimiter
(size_t CNT, T = float)
T
setNorm
(
size_t
i
,
T
nv
)
in { assert (i < CNT); assert (nv <= 1.0); }
if
(
CNT
> 0 &&
isFloatingPoint
!
T
)
Meta
Source
See Implementation
des
math
util
valuelim
ValueLimiter
functions
get
getNorm
set
setNorm
properties
maxLimit
minLimit
variables
values