public class Scaler extends java.lang.Number implements MatrixValueI
| Modifier | Constructor and Description |
|---|---|
protected |
Scaler() |
protected |
Scaler(java.lang.Object o) |
| Modifier and Type | Method and Description |
|---|---|
MatrixValueI |
copy()
returns a copy of this value.
|
double |
doubleValue()
value of constant coeff.
|
boolean |
equals(java.lang.Object obj) |
float |
floatValue()
value of constant coeff.
|
Dimensions |
getDim()
Returns the dimension of this object.
|
java.lang.Object |
getEle(int i)
gets the i-th element, treats data a a linear array.
|
static MatrixValueI |
getInstance(java.lang.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,
java.lang.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.
|
java.lang.String |
toString() |
public static MatrixValueI getInstance(java.lang.Object o)
public Dimensions getDim()
MatrixValueIgetDim in interface MatrixValueIpublic int getNumEles()
MatrixValueIgetNumEles in interface MatrixValueIpublic void setEle(int i,
java.lang.Object value)
MatrixValueIsetEle in interface MatrixValueIpublic java.lang.Object getEle(int i)
MatrixValueIgetEle in interface MatrixValueIpublic java.lang.String toString()
toString in class java.lang.Objectpublic void setEles(MatrixValueI val)
setEles in interface MatrixValueIpublic int intValue()
intValue in class java.lang.Numberpublic long longValue()
longValue in class java.lang.Numberpublic float floatValue()
floatValue in class java.lang.Numberpublic double doubleValue()
doubleValue in class java.lang.Numberpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic MatrixValueI copy()
MatrixValueIcopy in interface MatrixValueIhttp://www.singularsys.com/jep Copyright © 2007 Singular Systems