desmath ~master (2016-01-06T21:44:09Z)
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