Interval
class Interval(xLower: Double = Double.NEGATIVE_INFINITY, xUpper: Double = Double.POSITIVE_INFINITY)
Can be used to represent confidence intervals. Intervals between two real numbers where the lower limit must be less than or equal to the upper limit. The interval is inclusive of both end points.
Author
rossetti
Parameters
x Lower
the lower limit, must be less than or equal to xUpper
x Upper
the upper limit
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Returns a new interval where the end points have been rounded down (lower limit) and rounded up (upper limit) to integer valued doubles.
Link copied to clipboard
Creates an array that holds points from the interval all with the same distance between the points with the first point starting at the lower limit and stepping up towards the upper limit based on the number of steps.