com.singularsys.jep.reals

## Class RealFunctionTable

- java.lang.Object
- - com.singularsys.jep.FunctionTable
  - - com.singularsys.jep.reals.RealFunctionTable

- All Implemented Interfaces:
    JepComponent, java.io.Serializable

      public class RealFunctionTable
      extends FunctionTable

  Function table where evaluation is carried out using reals and never complex numbers. Evaluating `sqrt(-1)` will return NaN rather than a complex number. Function `asin(2), acos(2), acosh(0.5), atanh(2), ln(-1), log(-1), lg(-1)` also returns NaN. Furthermore, the constant `i` is not defined.
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class com.singularsys.jep.FunctionTable

      `table`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RealFunctionTable()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `FunctionTable` | `shallowCopy()` Returns a new shallow copy of this function table.

    - ### Methods inherited from class com.singularsys.jep.FunctionTable

      `addFunction, clear, containsKey, containsValue, entrySet, getFunction, getLightWeightInstance, init, isEmpty, keySet, remove, size, toString, values`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RealFunctionTable

          public RealFunctionTable()

  - ### Method Detail

    - #### shallowCopy

          public FunctionTable shallowCopy()

      Description copied from class: `FunctionTable`
      Returns a new shallow copy of this function table. The entries in the table refer to the the same instances of the postfix math commands. If sub-classes use pfmc's which are not thread safe they should override this methods and set a new instance for the table.
      Overrides:
        `shallowCopy` in class `FunctionTable`
      Returns:
        a new shallow copy of this function table

Copyright © 2018 Singular Systems http://www.singularsys.com/jep