Returns a matrix whose components are the components of a matrix
constrained to be within the specified interval.
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 4.2.11333.0 (4.2.12253.0)
Syntax
| Visual Basic (Declaration) |
Public Shared Function Clip ( _
matrix As Matrix, _
lowerBound As Double, _
upperBound As Double _
) As Matrix
|
Return Value
A matrix whose components are the corresponding component
of
matrix constrained as follows:
If the value is less than or equal to
lowerBound, then
lowerBound;
otherwise, if the value is greater than or equal to
upperBound, then
upperBound;
otherwise, the value is unchanged.
Exceptions
See Also