Clip

Clips a score between the specified range.

Constructors

Link copied to clipboard
constructor(range: ClosedFloatingPointRange<Double>?)

Properties

Link copied to clipboard
Link copied to clipboard

The range of the score to clip into. If null, implies to not clip the input score.

Functions

Link copied to clipboard
open fun <V : Any> andThen(p0: Function<in Double?, out V>): Function<Double?, V>
Link copied to clipboard
open override fun apply(input: Double?): Double?
Link copied to clipboard
open fun <V : Any> compose(p0: Function<in V, out Double?>): Function<V, Double?>
Link copied to clipboard
open operator override fun invoke(input: Double?): Double?

Clips the input value within the range.