Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jcckit.util
Class Util

    java.lang.Object
      jcckit.util.Util

public class Util
extends java.lang.Object

Collection of static utility methods.

Author:
  Franz-Josef Elmer

Method Summary
`static double` | `exp(double x, boolean logScale)` Returns the exponential function of the specified number if `logScale` is true.
`static double` | `log(double x, boolean logScale)` Returns the natural logarithm of the specified number if `logScale` is true.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### log

    public static double log(double x,
                             boolean logScale)

  Returns the natural logarithm of the specified number if `logScale` is true.

  Returns:
    `x` if `logScale == false`.

### exp

    public static double exp(double x,
                             boolean logScale)

  Returns the exponential function of the specified number if `logScale` is true.

  Returns:
    `x` if `logScale == false`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD