LinearToLogScale

Takes an input range which is linear and converts it to a logarithmic scale.

class LinearToLogScale : Scale {}

Inherited Members

From Scale

initialize
void initialize(RealRange inputRange, RealRange outputRange)

Calculates the coefficient a and b based on the ranges given.

convert
float convert(float x)

input value is converted and returned.

Meta