public class UnitFunctionLog extends UnitFunction
Implementation of the base 10 logarithm function for special units such as B, B[SPL], B[V], etc...
Modifier and Type | Field and Description |
---|---|
protected boolean |
eBase |
protected double |
logBase |
printSymbol, scaleFactor
Constructor and Description |
---|
UnitFunctionLog() |
UnitFunctionLog(double logBase) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
double |
fromProperUnit(double value) |
double |
toProperUnit(double value) |
createFunction, getPrintSymbol, getScaleFactor, setPrintSymbol, setScaleFactor
public UnitFunctionLog()
public UnitFunctionLog(double logBase)
public double toProperUnit(double value)
toProperUnit
in class UnitFunction
public double fromProperUnit(double value)
fromProperUnit
in class UnitFunction
public boolean equals(Object obj)
equals
in class UnitFunction
Copyright © 2016 Sensia Software LLC. All rights reserved.