public interface MatrixFactoryI extends JepComponent
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
elementValue(java.lang.Object o)
Converts the argument to the type of elements of the matrix
|
MatrixI |
identity(int size)
Create an square identity matrix
|
MatrixI |
identity(int rows,
int cols)
Create an identity matrix.
|
MatrixI |
newMatrix(java.lang.Object[][] data)
Create a new MatrixI using the given data
|
VectorI |
newVector(java.lang.Object... data)
Create a new VectorI using the given data
|
MatrixI |
zeroMat(Dimensions dimensions)
Create a matrix with zero elements
|
MatrixI |
zeroMat(int rows,
int cols)
Create an zero matrix.
|
VectorI |
zeroVec(int size)
Create a vector with zeros
|
getLightWeightInstance, initjava.lang.Object elementValue(java.lang.Object o)
throws EvaluationException
o - EvaluationExceptionVectorI newVector(java.lang.Object... data) throws EvaluationException
data - EvaluationExceptionMatrixI newMatrix(java.lang.Object[][] data) throws EvaluationException
data - EvaluationExceptionMatrixI identity(int size) throws EvaluationException
size - sizeEvaluationExceptionMatrixI identity(int rows, int cols) throws EvaluationException
rows - cols - EvaluationExceptionMatrixI zeroMat(int rows, int cols) throws EvaluationException
rows - cols - EvaluationExceptionVectorI zeroVec(int size) throws EvaluationException
size - EvaluationExceptionMatrixI zeroMat(Dimensions dimensions) throws EvaluationException
dimensions - dimensions specifying the size of a matrix.EvaluationException - if the dimensions are not of order 2Copyright © 2018 Singular Systems http://www.singularsys.com/jep