|
|||||||||
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.NslNumeric2
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 | |
NslNumeric2()
|
|
NslNumeric2(java.lang.String label)
|
|
NslNumeric2(java.lang.String label,
NslHierarchy parent)
|
|
NslNumeric2(java.lang.String label,
NslHierarchy parent,
char desiredAccess)
|
Method Summary | |
int |
getDimensions()
get the dimensions of this object |
abstract double |
getdouble(int pos1,
int pos2)
|
abstract double[] |
getdouble1(int pos)
|
abstract double[][] |
getdouble2()
|
abstract float |
getfloat(int pos1,
int pos2)
|
abstract float[] |
getfloat1(int pos)
|
abstract float[][] |
getfloat2()
|
abstract int |
getint(int pos1,
int pos2)
set the value of this object to value |
abstract int[] |
getint1(int pos)
|
abstract int[][] |
getint2()
|
abstract NslDouble2 |
getNslDouble2()
get the value of this object in NslDouble2 form. |
abstract NslFloat2 |
getNslFloat2()
|
abstract NslInt2 |
getNslInt2()
|
abstract void |
getNslSizes(NslInt0 size1,
NslInt0 size2)
|
abstract int |
getSize1()
Get the left most index (2st axis) in this array |
abstract int |
getSize2()
Get the second left most index (2st axis) in this array |
abstract int[] |
getSizes()
|
abstract void |
set(double value)
set the value of all elements of this object to value |
abstract void |
set(double[][] value)
|
abstract void |
set(float value)
set the value of all elements of this object to value |
abstract void |
set(float[][] value)
set the value of this object to value |
abstract void |
set(int value)
set the value of all elements of this object to value |
abstract void |
set(int[][] value)
set the value of this object to value |
abstract void |
set(int pos1,
int pos2,
double value)
set the value of an element in this object to value |
abstract void |
set(int pos1,
int pos2,
float value)
set the value of an element in this object to value |
abstract void |
set(int pos1,
int pos2,
int value)
set the value of an element in this object to value |
abstract void |
set(int pos1,
int pos2,
NslNumeric0 value)
set the value of an element in this object to value |
abstract void |
set(NslNumeric0 value)
set the value of all elements of this object to value |
abstract void |
set(NslNumeric2 value)
Set the value of this object to be value |
Methods inherited from class nslj.src.lang.NslData |
duplicateData, duplicateThis, getDataType, getInport, getNslSizes, getOutport, getSize3, getSize4, isDataSet, nslGetPort, resetData, setReference, toString |
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 |
Constructor Detail |
public NslNumeric2()
public NslNumeric2(java.lang.String label)
public NslNumeric2(java.lang.String label, NslHierarchy parent)
public NslNumeric2(java.lang.String label, NslHierarchy parent, char desiredAccess)
Method Detail |
public abstract double[][] getdouble2()
public abstract float[][] getfloat2()
public abstract int[][] getint2()
public abstract double[] getdouble1(int pos)
pos
- - row number to be addressed.public abstract float[] getfloat1(int pos)
pos
- - row number to be addressed.public abstract int[] getint1(int pos)
pos
- - row number to be addressed.public abstract double getdouble(int pos1, int pos2)
pos1
- - row numberpos2
- - column numberpublic abstract float getfloat(int pos1, int pos2)
pos1
- - row numberpos2
- - column numberpublic abstract int getint(int pos1, int pos2)
value
- - two dimension arraypublic abstract NslDouble2 getNslDouble2()
public abstract NslFloat2 getNslFloat2()
public abstract NslInt2 getNslInt2()
public abstract void set(double[][] value)
public abstract void set(float[][] value)
value
- - two dimension arraypublic abstract void set(int[][] value)
value
- - two dimension arraypublic abstract void set(int pos1, int pos2, double value)
pos1
- - the row number of the elementpos2
- - the column number of the elementvalue
- - scalar in doublepublic abstract void set(int pos1, int pos2, float value)
pos1
- - the row number of the elementpos2
- - the column number of the elementvalue
- - scalar in floatpublic abstract void set(int pos1, int pos2, int value)
pos1
- - the row number of the elementpos2
- - the column number of the elementvalue
- - scalar in intpublic abstract void set(double value)
value
- - value to be defined.public abstract void set(float value)
value
- - value to be defined.public abstract void set(int value)
value
- - value to be defined.public abstract void set(NslNumeric2 value)
value
- - in any of NslNumeric2 type.public abstract void set(NslNumeric0 value)
value
- - value to be defined.public abstract void set(int pos1, int pos2, NslNumeric0 value)
pos1
- - the row number of the elementpos2
- - the column number of the elementvalue
- - scalar in NslNumeric0public int getDimensions()
getDimensions
in class NslData
public abstract int[] getSizes()
getSizes
in class NslData
public abstract void getNslSizes(NslInt0 size1, NslInt0 size2)
public abstract int getSize1()
getSize1
in class NslData
public abstract int getSize2()
getSize2
in class NslData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |