udunits/src/main/java/ucar/units/LogarithmicUnit.java
public float[] toDerivedUnit(final float[] input, final float[] output)
            throws ConversionException {
        for (int i = input.length; --i >= 0;) {
            output[i] = (float) (Math.exp(input[i] * lnBase));
        }
        return reference.toDerivedUnit(output, output);
    }
public float[] toDerivedUnit(final float[] input, final float[] output)
            throws ConversionException {
        for (int i = input.length; --i >= 0;) {
            output[i] = (float) (Math.exp(input[i] * lnBase));
        }
        return reference.toDerivedUnit(output, output);
    }
Converts values in this unit to the equivalent values in the convertible
derived unit.

@param input
The values in this unit.
@param output
The equivalent values in the convertible derived unit. May be
the same array as <code>input</code>.
@return <code>output</code>.
@throws ConversionException
Can't convert between units.