|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.isi.stella.Stella_Object
edu.isi.stella.StandardObject
edu.isi.stella.AbstractCollection
edu.isi.powerloom.logic.MultiDimensionalArray
edu.isi.powerloom.logic.twoDFloatArray
public class twoDFloatArray
Two-dimensional arrays with elements of type FLOAT.
| Field Summary | |
|---|---|
int |
nofColumns
|
int |
nofRows
|
Stella_Object[] |
theArray
|
| Constructor Summary | |
|---|---|
twoDFloatArray()
|
|
| Method Summary | |
|---|---|
static Stella_Object |
access2DFloatArraySlotValue(twoDFloatArray 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 |
initialize2DFloatArray(twoDFloatArray self)
|
static twoDFloatArray |
new2DFloatArray(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 |
twoDElement(int row,
int column)
Return the element of array at position [row, column]. |
double |
twoDElementSetter(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 twoDFloatArray()
| Method Detail |
|---|
public static twoDFloatArray new2DFloatArray(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 twoDElementSetter(double value,
int row,
int column)
array at position [row, column]
to value and return the result.
value - row - column -
public double twoDElement(int row,
int column)
array at position [row, column].
row - column -
public static void initialize2DFloatArray(twoDFloatArray self)
public void printObject(java.io.PrintStream stream)
printObject in class Stella_Object
public static Stella_Object access2DFloatArraySlotValue(twoDFloatArray self,
Symbol slotname,
Stella_Object value,
boolean setvalueP)
public Surrogate primaryType()
Stella_Objectself.
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 | ||||||||