ResponseFunction

class ResponseFunction @JvmOverloads constructor(function: (Double) -> Double, observedResponse: Response, name: String? = null) : Response(source)

Applies the supplied function to the observed value of the response and tallies statistics on the functional.

Parameters

function

the function of the observed response to tally

observedResponse

the response that is being observed

name

the name of the functional response

Constructors

Link copied to clipboard
constructor(function: (Double) -> Double, observedResponse: ResponseCIfc, name: String? = null)
constructor(function: (Double) -> Double, observedResponse: Response, name: String? = null)

Functions

Link copied to clipboard
fun detach()

Detaches the functional from observing the response.