DHI.Mike1D
DHI.Mike1D
Namespaces
DHI.Mike1D.Generic
MathUtil Class
MathUtil Methods
AllPositive Method
AllZero Method
Derivative Method
Derivatives Method
DivOrZero Method
FixBetweenLimits Method
GetIndeces Method
GetInterval Method
GetIntervalU Method
Interp Method
Interpn Method
InterpolateRowsInTable Method
InterpolateTable Method
Limit Method
Max Method
Min Method
MonotonicallyDecreasingOrConstant Method
MonotonicallyIncreasingOrConstant Method
MonotonouslyDecreasingOrConstant Method
PrepareIndexesForDerivation Method
Sqr Method
StrictlyMonoton Method
StrictlyMonotonIndex Method
SurfaceAreaOfPartialCone Method
VolumeOfPartialCone Method
MathUtil
Limit Method
Limit a value between min and max
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
Copy
public
static
double
Limit
(
this
double
value
,
double
minValue
,
double
maxValue
)
Parameters
value
Type:
System
Double
minValue
Type:
System
Double
maxValue
Type:
System
Double
Return Value
Type:
Double
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Double
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
MathUtil Class
DHI.Mike1D.Generic Namespace