Transform

data class Transform(val transform: (Double?) -> Double?) : ScoreTransformOp

Transforms a score to another using the specified transform function.

Constructors

Link copied to clipboard
constructor(transform: (Double?) -> Double?)

Properties

Link copied to clipboard
val transform: (Double?) -> Double?

The mapper function to transform 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?

Transforms the input score using the transform function.