public class Scaler extends Number implements MatrixValueI
| Modifier and Type | Method and Description |
|---|---|
MatrixValueI |
copy()
returns a copy of this value.
|
double |
doubleValue()
value of constant coeff.
|
boolean |
equals(Object obj) |
float |
floatValue()
value of constant coeff.
|
Dimensions |
getDim()
Returns the dimension of this object.
|
Object |
getEle(int i)
gets the i-th element, treats data a a linear array.
|
static MatrixValueI |
getInstance(Object o) |
int |
getNumEles()
The total number of elements.
|
int |
hashCode()
Always override hashCode when you override equals.
|
int |
intValue()
value of constant coeff.
|
long |
longValue()
value of constant coeff.
|
void |
setEle(int i,
Object value)
sets the i-th element, treats data a a linear array.
|
void |
setEles(MatrixValueI val)
sets the elements to those of the arguments.
|
String |
toString() |
byteValue, shortValuepublic static MatrixValueI getInstance(Object o)
public Dimensions getDim()
MatrixValueIgetDim in interface MatrixValueIpublic int getNumEles()
MatrixValueIgetNumEles in interface MatrixValueIpublic void setEle(int i,
Object value)
MatrixValueIsetEle in interface MatrixValueIpublic Object getEle(int i)
MatrixValueIgetEle in interface MatrixValueIpublic void setEles(MatrixValueI val)
setEles in interface MatrixValueIpublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic int hashCode()
public MatrixValueI copy()
MatrixValueIcopy in interface MatrixValueIJas4pp 1.5 © Java Analysis Studio for Particle Physics