public abstract class MrpRes
extends java.lang.Object
Constructor and Description |
---|
MrpRes() |
Modifier and Type | Method and Description |
---|---|
abstract void |
copyToMat(MatrixI res)
Copy result to an existing matrix
|
abstract void |
copyToVec(VectorI res)
Copy result to an existing vector
|
double |
doubleValue()
If the result is a scaler return the value
|
abstract Dimensions |
getDimensions()
The Dimension of the object.
|
abstract double[][] |
toArrayMat()
If the result is a matrix return a two dimensional array of doubles.
|
abstract double[] |
toArrayVec()
If the result is a vector return a one dimensional array of doubles.
|
abstract java.lang.Double[][] |
toDoubleMat() |
abstract java.lang.Double[] |
toDoubleVec() |
public abstract Dimensions getDimensions()
getDimensions().order()
to tell if this object represents a scaler (0), vector (1) or matrix (2).public double doubleValue()
public abstract double[][] toArrayMat()
public abstract java.lang.Double[][] toDoubleMat() throws EvaluationException
EvaluationException
public abstract double[] toArrayVec()
public abstract java.lang.Double[] toDoubleVec() throws EvaluationException
EvaluationException
public abstract void copyToMat(MatrixI res) throws EvaluationException
res
- the matrix to copy intoEvaluationException
- if the dimensions do not match or result is the wrong typepublic abstract void copyToVec(VectorI res) throws EvaluationException
res
- the vector to copy intoEvaluationException
- if the dimensions do not match or result is the wrong typeCopyright © 2018 Singular Systems http://www.singularsys.com/jep