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
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
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionRTS_REALTYPE_ARRAY
(RTS_BOUNDS... BOUNDS) Create a real-type array with the given bounds. -
Method Summary
Modifier and TypeMethodDescriptionabstract double
getRealTypeELEMENT
(int i) Utility for fetching value of a real type array.Methods inherited from class simula.runtime.RTS_ARRAY
COPY, index, lowerBound, nDim, size, toString, upperBound
-
Constructor Details
-
RTS_REALTYPE_ARRAY
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)
-