GeometricVariable

A variable ranging geometrically (exponentially) in a range. Ideal for log-scale comparisons. E.g., a GeometricVariable with minimum = 1, maximum = 100 and samples = 5 will range over [1, ~3.16, 10, ~31.62 100]. Both min and max must be strictly bigger than 0.

Constructors

Link copied to clipboard
constructor(def: Double, min: Double, max: Double, samples: Int)

Functions

Link copied to clipboard
open fun forEach(p: Consumer<in T>)
Link copied to clipboard
open fun getDefault(): Double
Link copied to clipboard
open fun iterator(): Iterator<V>
abstract fun iterator(): Iterator<T>
Link copied to clipboard
Link copied to clipboard
open fun steps(): Long
Link copied to clipboard
open fun stream(): Stream<Double>
Link copied to clipboard
open fun toString(): String