Class RTS_REALTYPE_ARRAY

java.lang.Object
simula.runtime.RTS_ARRAY
simula.runtime.RTS_REALTYPE_ARRAY
Direct Known Subclasses:
RTS_LONG_REAL_ARRAY, RTS_REAL_ARRAY

public abstract class RTS_REALTYPE_ARRAY extends RTS_ARRAY

This class is the common superclass for real type arrays. It is introduced to implement overloading of real type parameter arrays.

Link to GitHub: Source File.

Author:
Øystein Myhre Andersen
  • Constructor Details

    • RTS_REALTYPE_ARRAY

      public RTS_REALTYPE_ARRAY(RTS_BOUNDS... BOUNDS)
      Create a real-type array with the given bounds.
      Parameters:
      BOUNDS - the array bounds
  • Method Details

    • getRealTypeELEMENT

      public abstract double getRealTypeELEMENT(int i)

      Utility for fetching value of a real type array.

      Used by: Reandom drawing discrete and linear procedures.

      Parameters:
      i - index
      Returns:
      value of ELTS(i)