nslj.src.lang
Class NslNumeric3

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
Direct Known Subclasses:
NslDouble3, NslFloat3, NslInt3

public abstract class NslNumeric3
extends NslNumeric


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
NslNumeric3()
           
NslNumeric3(java.lang.String label)
           
NslNumeric3(java.lang.String label, NslHierarchy parent)
           
NslNumeric3(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, int pos3)
           
abstract  double[] getdouble1(int pos1, int pos2)
           
abstract  double[][] getdouble2(int pos1)
           
abstract  double[][][] getdouble3()
           
abstract  float getfloat(int pos1, int pos2, int pos3)
           
abstract  float[] getfloat1(int pos1, int pos2)
           
abstract  float[][] getfloat2(int pos1)
           
abstract  float[][][] getfloat3()
           
abstract  int getint(int pos1, int pos2, int pos3)
           
abstract  int[] getint1(int pos1, int pos2)
           
abstract  int[][] getint2(int pos1)
           
abstract  int[][][] getint3()
           
abstract  NslDouble3 getNslDouble3()
          get the value of this object in NslDouble3 form.
abstract  NslFloat3 getNslFloat3()
           
abstract  NslInt3 getNslInt3()
           
abstract  void getNslSizes(NslInt0 size1, NslInt0 size2, NslInt0 size3)
           
abstract  int getSize1()
          Get the left most index (1st axis) in this array
abstract  int getSize2()
          Get the second left most index (2st axis) in this array
abstract  int getSize3()
          Get the third left most index (3st 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)
          set the value of this object to 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, int pos3, double value)
          set the value of an element in this object to value
abstract  void set(int pos1, int pos2, int pos3, float value)
          set the value of an element in this object to value
abstract  void set(int pos1, int pos2, int pos3, int value)
          set the value of an element in this object to value
abstract  void set(int pos1, int pos2, int pos3, 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(NslNumeric3 value)
          Set the value of this object to be value
 
Methods inherited from class nslj.src.lang.NslData
duplicateData, duplicateThis, getDataType, getInport, getNslSizes, getOutport, 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

NslNumeric3

public NslNumeric3()

NslNumeric3

public NslNumeric3(java.lang.String label)

NslNumeric3

public NslNumeric3(java.lang.String label,
                   NslHierarchy parent)

NslNumeric3

public NslNumeric3(java.lang.String label,
                   NslHierarchy parent,
                   char desiredAccess)
Method Detail

getdouble3

public abstract double[][][] getdouble3()
Returns:
- the value of this object in java numerical array type double[][][].

getfloat3

public abstract float[][][] getfloat3()
Returns:
- the value of this object in java numerical array type float[][][].

getint3

public abstract int[][][] getint3()
Returns:
- the value of this object in java numerical array type int[][][].

getdouble2

public abstract double[][] getdouble2(int pos1)
Parameters:
pos1 - - left most index
Returns:
the value of the element in pos1th row and pos2th column in java numerical type double.

getfloat2

public abstract float[][] getfloat2(int pos1)
Parameters:
pos1 - - left most index
Returns:
the value of the element in pos1th row and pos2th column in java numerical type float.

getint2

public abstract int[][] getint2(int pos1)
Parameters:
pos1 - - left most index
Returns:
the value of the element in pos1th row and pos2th column in java numerical type int.

getdouble1

public abstract double[] getdouble1(int pos1,
                                    int pos2)

getfloat1

public abstract float[] getfloat1(int pos1,
                                  int pos2)

getint1

public abstract int[] getint1(int pos1,
                              int pos2)

getdouble

public abstract double getdouble(int pos1,
                                 int pos2,
                                 int pos3)
Parameters:
pos1 - - left most index
pos2 - - second to left most
pos3 - - height number
Returns:
the value of the element in pos1th row and pos2th column and pos3th height in java numerical type double.

getfloat

public abstract float getfloat(int pos1,
                               int pos2,
                               int pos3)
Parameters:
pos1 - - left most index
pos2 - - second to left most
pos3 - - height number
Returns:
the value of the element in pos1th row and pos2th column and pos3th height in java numerical type float.

getint

public abstract int getint(int pos1,
                           int pos2,
                           int pos3)
Parameters:
pos1 - - left most index
pos2 - - second to left most
pos3 - - height number
Returns:
the value of the element in pos1th row and pos2th column and pos3th height in java numerical type int.

getNslDouble3

public abstract NslDouble3 getNslDouble3()
get the value of this object in NslDouble3 form.

getNslFloat3

public abstract NslFloat3 getNslFloat3()

getNslInt3

public abstract NslInt3 getNslInt3()

set

public abstract void set(double[][][] value)
set the value of this object to value
Parameters:
value - - three dimensional array

set

public abstract void set(float[][][] value)
set the value of this object to value
Parameters:
value - - three dimensional array

set

public abstract void set(int[][][] value)
set the value of this object to value
Parameters:
value - - three dimensional array

set

public abstract void set(int pos1,
                         int pos2,
                         int pos3,
                         double value)
set the value of an element in this object to value
Parameters:
pos1 - - the left most index of the element
pos2 - - the second to left most of the element
pos3 - - the height number of the element
value - - scalar in double

set

public abstract void set(int pos1,
                         int pos2,
                         int pos3,
                         float value)
set the value of an element in this object to value
Parameters:
pos1 - - the left most index of the element
pos2 - - the second to left most of the element
pos3 - - the height number of the element
value - - scalar in float

set

public abstract void set(int pos1,
                         int pos2,
                         int pos3,
                         int value)
set the value of an element in this object to value
Parameters:
pos1 - - the left most index of the element
pos2 - - the second to left most of the element
pos3 - - the height number of the element
value - - scalar in int

set

public abstract void set(double value)
set the value of all elements of this object to value
Parameters:
value - - value to be defined.

set

public abstract void set(float value)
set the value of all elements of this object to value
Parameters:
value - - value to be defined.

set

public abstract void set(int value)
set the value of all elements of this object to value
Parameters:
value - - value to be defined.

set

public abstract void set(NslNumeric3 value)
Set the value of this object to be value
Parameters:
value - - in any of NslNumeric3 type.

set

public abstract void set(NslNumeric0 value)
set the value of all elements of this object to value
Parameters:
value - - value of NslNumeric0.

set

public abstract void set(int pos1,
                         int pos2,
                         int pos3,
                         NslNumeric0 value)
set the value of an element in this object to value
Parameters:
pos1 - - the left most index of the element
pos2 - - the second to left most of the element
pos3 - - the number of the element
value - - scalar in NslNumeric0

getDimensions

public int getDimensions()
get the dimensions of this object
Overrides:
getDimensions in class NslData
Returns:
always 3

getNslSizes

public abstract void getNslSizes(NslInt0 size1,
                                 NslInt0 size2,
                                 NslInt0 size3)

getSizes

public abstract int[] getSizes()
Overrides:
getSizes in class NslData

getSize1

public abstract int getSize1()
Get the left most index (1st axis) in this array
Overrides:
getSize1 in class NslData

getSize2

public abstract int getSize2()
Get the second left most index (2st axis) in this array
Overrides:
getSize2 in class NslData

getSize3

public abstract int getSize3()
Get the third left most index (3st axis) in this array
Overrides:
getSize3 in class NslData