|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--EDU.gatech.cc.is.abstractrobot.ControlSystemS
|
+--EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150
|
+--nslj.src.lang.NslBase
|
+--nslj.src.lang.NslData
|
+--nslj.src.lang.NslNumeric
|
+--nslj.src.lang.NslNumeric3
|
+--nslj.src.lang.NslFloat3
| Field Summary | |
float[][][] |
_data
|
| Fields inherited from class nslj.src.lang.NslBase |
_accessChar, _name, _parent |
| Fields inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150 |
abstract_robot |
| Fields inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemS |
CSSTAT_DONE, CSSTAT_ERROR, CSSTAT_OK, seed |
| Constructor Summary | |
NslFloat3()
|
|
NslFloat3(float[][][] d)
|
|
NslFloat3(int size1,
int size2,
int size3)
|
|
NslFloat3(NslNumeric3 n)
|
|
NslFloat3(java.lang.String name)
This constructs a number with specified name |
|
NslFloat3(java.lang.String name,
float[][][] d)
This constructs a number with specified name |
|
NslFloat3(java.lang.String name,
int size1,
int size2,
int size3)
This constructs a number with specified name |
|
NslFloat3(java.lang.String name,
NslHierarchy curParent)
|
|
NslFloat3(java.lang.String name,
NslHierarchy curParent,
int size1,
int size2,
int size3)
|
|
NslFloat3(java.lang.String name,
NslHierarchy curParent,
NslNumeric3 n)
This constructs a number with specified name |
|
NslFloat3(java.lang.String name,
NslNumeric3 n)
|
|
| Method Summary | |
void |
duplicateData(NslData n)
Copy all data from n to this number object. |
NslData |
duplicateThis()
This method is equivalent to clone() method in java.lang.Object. |
float[][][] |
get()
|
float[][] |
get(int pos1)
|
float[] |
get(int pos1,
int pos2)
|
float |
get(int pos1,
int pos2,
int pos3)
|
double |
getdouble(int pos1,
int pos2,
int pos3)
|
double[] |
getdouble1(int pos1,
int pos2)
|
double[][] |
getdouble2(int pos1)
|
double[][][] |
getdouble3()
|
float |
getfloat(int pos1,
int pos2,
int pos3)
|
float[] |
getfloat1(int pos1,
int pos2)
|
float[][] |
getfloat2(int pos1)
|
float[][][] |
getfloat3()
|
int |
getint(int pos1,
int pos2,
int pos3)
|
int[] |
getint1(int pos1,
int pos2)
|
int[][] |
getint2(int pos1)
|
int[][][] |
getint3()
|
NslDouble3 |
getNslDouble3()
get the value of this object in NslDouble3 form. |
NslFloat3 |
getNslFloat3()
|
NslInt3 |
getNslInt3()
|
void |
getNslSizes(NslInt0 size1,
NslInt0 size2,
NslInt0 size3)
|
float[][][] |
getSector(int start1,
int start2,
int start3,
int end1,
int end2,
int end3)
|
int |
getSize1()
Get the left most index (1st axis) in this array |
int |
getSize2()
Get the second left most index (2st axis) in this array |
int |
getSize3()
Get the third left most index (3st axis) in this array |
int[] |
getSizes()
|
boolean |
isDataSet()
Check if the number is well-defined and the corresponding numerical data is set. |
void |
nslMemAlloc(int size1,
int size2,
int size3)
|
void |
print()
|
void |
resetData()
Reset the reference pointer to null |
void |
set(double value)
set the value of all elements of this object to value |
void |
set(double[][][] value)
set the value of this object to value |
void |
set(float value)
set the value of all elements of this object to value |
void |
set(float[][][] value)
set the value of this object to value |
void |
set(int value)
set the value of all elements of this object to value |
void |
set(int[][][] value)
set the value of this object to value |
void |
set(int pos1,
float[][] value)
|
void |
set(int pos1,
int pos2,
int pos3,
double value)
set the value of an element in this object to value |
void |
set(int pos1,
int pos2,
int pos3,
float value)
set the value of an element in this object to value |
void |
set(int pos1,
int pos2,
int pos3,
int value)
set the value of an element in this object to value |
void |
set(int pos1,
int pos2,
int pos3,
NslNumeric0 value)
set the value of an element in this object to value |
void |
set(int pos1,
NslNumeric2 value)
|
void |
set(NslNumeric0 n)
set the value of all elements of this object to value |
void |
set(NslNumeric3 n)
Set the value of this object to be value |
void |
setReference(float[][][] value)
|
void |
setReference(NslData n)
Set the reference pointer of this number object to the data value of n. |
void |
setSector(float[][][] d,
int startpos1,
int startpos2,
int startpos3)
|
java.lang.String |
toString()
Print the value of the numberic |
| Methods inherited from class nslj.src.lang.NslNumeric3 |
getDimensions |
| Methods inherited from class nslj.src.lang.NslData |
getDataType, getInport, getNslSizes, getOutport, getSize4, nslGetPort |
| Methods inherited from class nslj.src.lang.NslBase |
nslGetAccess, nslGetName, nslGetParent, nslGetParentClass, nslGetParentModule, nslGetRealName, nslNullifyParent, nslSetAccess, nslSetName, nslSetParent |
| Methods inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemMFN150 |
init |
| Methods inherited from class EDU.gatech.cc.is.abstractrobot.ControlSystemS |
configure, Configure, getAbstractRobot, Init, quit, takeStep, TakeStep, trialEnd, TrialEnd, trialInit, TrialInit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public float[][][] _data
| Constructor Detail |
public NslFloat3(float[][][] d)
public NslFloat3(NslNumeric3 n)
public NslFloat3(int size1,
int size2,
int size3)
public NslFloat3()
public NslFloat3(java.lang.String name)
name - - name of the variable
public NslFloat3(java.lang.String name,
NslHierarchy curParent)
public NslFloat3(java.lang.String name,
int size1,
int size2,
int size3)
name - - name of the variablesize1 - - size of the array 1st-Dimensionsize2 - - size of the array 2nd-Dimensionsize3 - - size of the array 3rd-Dimension
public NslFloat3(java.lang.String name,
NslHierarchy curParent,
int size1,
int size2,
int size3)
public NslFloat3(java.lang.String name,
NslHierarchy curParent,
NslNumeric3 n)
name - - name of the variablen - - initialized values
public NslFloat3(java.lang.String name,
NslNumeric3 n)
public NslFloat3(java.lang.String name,
float[][][] d)
name - - name of the variablen - - initialized values| Method Detail |
public void nslMemAlloc(int size1,
int size2,
int size3)
public float[][][] get()
public float[][] get(int pos1)
public float[] get(int pos1,
int pos2)
public float get(int pos1,
int pos2,
int pos3)
public double[][][] getdouble3()
getdouble3 in class NslNumeric3nslj.src.lang.NslNumeric3public float[][][] getfloat3()
getfloat3 in class NslNumeric3nslj.src.lang.NslNumeric3public int[][][] getint3()
getint3 in class NslNumeric3nslj.src.lang.NslNumeric3public double[][] getdouble2(int pos1)
getdouble2 in class NslNumeric3pos1 - - left most indexpublic float[][] getfloat2(int pos1)
getfloat2 in class NslNumeric3pos1 - - left most indexpublic int[][] getint2(int pos1)
getint2 in class NslNumeric3pos1 - - left most index
public double[] getdouble1(int pos1,
int pos2)
getdouble1 in class NslNumeric3
public float[] getfloat1(int pos1,
int pos2)
getfloat1 in class NslNumeric3
public int[] getint1(int pos1,
int pos2)
getint1 in class NslNumeric3
public double getdouble(int pos1,
int pos2,
int pos3)
getdouble in class NslNumeric3nslj.src.lang.NslNumeric3pos1 - - left most indexpos2 - - second to left mostpos3 - - height number
public float getfloat(int pos1,
int pos2,
int pos3)
getfloat in class NslNumeric3nslj.src.lang.NslNumeric3pos1 - - left most indexpos2 - - second to left mostpos3 - - height number
public int getint(int pos1,
int pos2,
int pos3)
getint in class NslNumeric3nslj.src.lang.NslNumeric3pos1 - - left most indexpos2 - - second to left mostpos3 - - height numberpublic NslFloat3 getNslFloat3()
getNslFloat3 in class NslNumeric3public NslDouble3 getNslDouble3()
NslNumeric3getNslDouble3 in class NslNumeric3public NslInt3 getNslInt3()
getNslInt3 in class NslNumeric3
public float[][][] getSector(int start1,
int start2,
int start3,
int end1,
int end2,
int end3)
public void set(float[][][] value)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3value - - three dimensional arraypublic void set(double[][][] value)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3value - - three dimensional arraypublic void set(int[][][] value)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3value - - three dimensional array
public void set(int pos1,
int pos2,
int pos3,
double value)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3pos1 - - the left most index of the elementpos2 - - the second to left most of the elementpos3 - - the height number of the elementvalue - - scalar in double
public void set(int pos1,
int pos2,
int pos3,
float value)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3pos1 - - the left most index of the elementpos2 - - the second to left most of the elementpos3 - - the height number of the elementvalue - - scalar in float
public void set(int pos1,
int pos2,
int pos3,
int value)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3pos1 - - the left most index of the elementpos2 - - the second to left most of the elementpos3 - - the height number of the elementvalue - - scalar in intpublic void set(float value)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3value - - value to be defined.public void set(double value)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3value - - value to be defined.public void set(int value)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3value - - value to be defined.public void set(NslNumeric3 n)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3value - - in any of NslNumeric3 type.public void set(NslNumeric0 n)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3value - - value of NslNumeric0.
public void set(int pos1,
int pos2,
int pos3,
NslNumeric0 value)
NslNumeric3set in class NslNumeric3nslj.src.lang.NslNumeric3pos1 - - the left most index of the elementpos2 - - the second to left most of the elementpos3 - - the number of the elementvalue - - scalar in NslNumeric0
public void set(int pos1,
NslNumeric2 value)
public void set(int pos1,
float[][] value)
public void setSector(float[][][] d,
int startpos1,
int startpos2,
int startpos3)
public void getNslSizes(NslInt0 size1,
NslInt0 size2,
NslInt0 size3)
getNslSizes in class NslNumeric3public int[] getSizes()
getSizes in class NslNumeric3public int getSize1()
getSize1 in class NslNumeric3public int getSize2()
getSize2 in class NslNumeric3public int getSize3()
getSize3 in class NslNumeric3public void duplicateData(NslData n)
NslDataduplicateData in class NslDatanslj.src.lang.NslDatan - - number to be copiedpublic NslData duplicateThis()
NslDataduplicateThis in class NslDatanslj.src.lang.NslDatapublic void setReference(float[][][] value)
public void setReference(NslData n)
NslDatasetReference in class NslDatanslj.src.lang.NslDatan - - number that the reference pointer to the "true"
numerical data is copied.public boolean isDataSet()
NslDataisDataSet in class NslDatanslj.src.lang.NslDatapublic void resetData()
resetData in class NslDatapublic void print()
public java.lang.String toString()
NslDatatoString in class NslData
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||