RateSegmentIfc

Properties

Link copied to clipboard

The cumulative rate interval width

Link copied to clipboard

The lower limit on the cumulative rate axis

Link copied to clipboard

The upper limit on the cumulative rate axis

Link copied to clipboard

The rate at the time that the time interval begins

Link copied to clipboard

The rate at the time that the time interval ends

Link copied to clipboard

The lower time limit

Link copied to clipboard

The upper time limit

Link copied to clipboard
abstract val timeRangeWidth: Double

The width of the interval

Functions

Link copied to clipboard
open operator fun contains(time: Double): Boolean

Returns true if the supplied time is within this rate segments time interval

Link copied to clipboard
abstract fun cumulativeRate(time: Double): Double

Returns the value of the cumulative rate function for the interval given a value of time within that interval

Link copied to clipboard
abstract fun instance(): RateSegmentIfc

Returns a new instance of the rate segment

Link copied to clipboard
abstract fun inverseCumulativeRate(cumRate: Double): Double

Returns the inverse of the cumulative rate function given the interval and a cumulative rate value within that interval. Returns a time

Link copied to clipboard
abstract fun rate(time: Double): Double

Returns the rate for the interval