Click or drag to resize

analysisExtensionsClipToK Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Clips to k: from 0 to 1

Namespace:  imbSCI.Core.math
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static double ClipToK(
	this double input,
	double minLimit = 0,
	double maxLimit = 1
)
Request Example View Source

Parameters

input
Type: SystemDouble
The input.
minLimit (Optional)
Type: SystemDouble
The minimum limit.
maxLimit (Optional)
Type: SystemDouble
The maximum limit.

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