|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.isi.stella.Stella_Object edu.isi.stella.StandardObject edu.isi.stella.AbstractCollection edu.isi.powerloom.logic.MultiDimensionalArray edu.isi.powerloom.logic.two_D_floatArray
public class two_D_floatArray
Two-dimensional arrays with elements of type FLOAT.
Field Summary | |
---|---|
int |
nofColumns
|
int |
nofRows
|
Stella_Object[] |
theArray
|
Constructor Summary | |
---|---|
two_D_floatArray()
|
Method Summary | |
---|---|
static Stella_Object |
access2_D_floatArraySlotValue(two_D_floatArray self,
Symbol slotname,
Stella_Object value,
boolean setvalueP)
|
void |
fillArray(Cons values)
Fill the two-dimensional array self in row-major-order
from values . |
static void |
initialize2_D_floatArray(two_D_floatArray self)
|
static two_D_floatArray |
new2_D_floatArray(int nofRows,
int nofColumns)
|
Surrogate |
primaryType()
Returns the primary type of self . |
void |
printArray(java.io.PrintStream stream)
Print the array self to stream . |
void |
printObject(java.io.PrintStream stream)
|
double |
two_D_element(int row,
int column)
Return the element of array at position [row , column ]. |
double |
two_D_elementSetter(double value,
int row,
int column)
Set the element of array at position [row , column ]
to value and return the result. |
Methods inherited from class edu.isi.powerloom.logic.MultiDimensionalArray |
---|
newMultiDimensionalArray |
Methods inherited from class edu.isi.stella.AbstractCollection |
---|
allocateIterator, length |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int nofRows
public int nofColumns
public Stella_Object[] theArray
Constructor Detail |
---|
public two_D_floatArray()
Method Detail |
---|
public static two_D_floatArray new2_D_floatArray(int nofRows, int nofColumns)
public void printArray(java.io.PrintStream stream)
self
to stream
.
stream
- public void fillArray(Cons values)
self
in row-major-order
from values
. Missing values will retain their old values, extraneous values
will be ignored.
values
- public double two_D_elementSetter(double value, int row, int column)
array
at position [row
, column
]
to value
and return the result.
value
- row
- column
-
public double two_D_element(int row, int column)
array
at position [row
, column
].
row
- column
-
public static void initialize2_D_floatArray(two_D_floatArray self)
public void printObject(java.io.PrintStream stream)
printObject
in class Stella_Object
public static Stella_Object access2_D_floatArraySlotValue(two_D_floatArray self, Symbol slotname, Stella_Object value, boolean setvalueP)
public Surrogate primaryType()
Stella_Object
self
.
Gets defined automatically for every non-abstract subclass of OBJECT.
primaryType
in class MultiDimensionalArray
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |