public interface IQuantity
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDimension()
Get Dimension.
|
java.lang.String |
getStandardUnit()
Get Standard Unit.
|
java.lang.String |
getUnit()
Get Unit.
|
double |
getValueN(int index)
Get a specified value from the array of magnitudes for this scalar or vector.
|
double[] |
getValues()
Get the array of magnitudes for this scalar or vector.
|
java.lang.String getUnit()
java.lang.String getStandardUnit()
java.lang.String getDimension()
double[] getValues()
double getValueN(int index)
index
- The index of the requested magnitude.
Index must be >= 0, and < the dimension of the vector.
For a scalar or 1D vector, index is assumed to be == 0 and is not checked.
For a 2D vector, 0 <= index < 2 .