get

open operator override fun get(key: Double): T(source)

Gets the value associated with the given key, using interpolation if necessary.

If the key exists in the map, the stored value is returned. Otherwise, the value is interpolated between the two nearest keys using the configured interpolation strategy.

Return

the exact value if the key exists, or an interpolated value otherwise

Parameters

key

the lookup key