public interface ReducedModel extends ReducedModelBase
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getControls()
Controls of the model.
|
java.lang.String[] |
getDescriptions(java.lang.String[] names)
Descriptions of properties.
|
int |
getM(java.lang.String mName)
Returns number of rows in matrix.
|
java.lang.String[] |
getMatrices()
Reduced model matrices.
|
int |
getN(java.lang.String mName)
Returns number of columns in matrix.
|
int |
getNnz(java.lang.String mName)
Get number of non-zeros in sparse matrix.
|
java.lang.String[] |
getOutputs()
Outputs of the model.
|
java.lang.String[] |
getParameters()
Parameters of the model.
|
int[] |
getSparseMatrixCol(java.lang.String mName)
Returns column indices of matrix values.
|
int[] |
getSparseMatrixRow(java.lang.String mName)
Returns row indices of matrix values.
|
double[] |
getSparseMatrixVal(java.lang.String mName)
Returns matrix values.
|
double[] |
getSparseMatrixValImag(java.lang.String mName)
Returns imaginary matrix values.
|
java.lang.String |
getString(java.lang.String name)
Gets string property.
|
java.lang.String[] |
getValues(java.lang.String[] names)
Get values of the model.
|
double[] |
getVector(java.lang.String mName)
Returns the real vector associated with the matrix type.
|
double[] |
getVectorImag(java.lang.String mName)
Get the imaginary part of the vector associated with the matrix type.
|
java.lang.String[] |
getVectors()
Reduced model vectors.
|
boolean |
isReal(java.lang.String mName)
Check if matrix is is real.
|
void |
renameControl(java.lang.String currentName,
java.lang.String newName)
Rename the controls of the model.
|
void |
renameOutput(java.lang.String currentName,
java.lang.String newName)
Rename the outputs of the model.
|
ReducedModel |
set(java.lang.String name,
java.lang.String value)
Sets string property value.
|
void |
setControl(java.lang.String name,
java.lang.String value)
Set control values of the model.
|
void |
setParameter(java.lang.String name,
java.lang.String value)
Set parameter values of the model.
|
getAllowedPropertyValues, getBoolean, getBoolean, getBoolean, getBooleanArray, getBooleanMatrix, getDouble, getDouble, getDouble, getDoubleArray, getDoubleMatrix, getEntryKeyIndex, getEntryKeys, getInt, getInt, getInt, getIntArray, getIntMatrix, getReferenceArray, getString, getString, getString, getStringArray, getStringMatrix, getType, getValueType, hasProperty, hasSelection, move, move, properties, remove, remove, selection, set, set, set, set, set, set, set, set, set, set, set, setEntry, setEntry, setEntry, setEntry, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex, setIndex
selection
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
getContainer, getDisplayString
java.lang.String[] getControls()
java.lang.String[] getDescriptions(java.lang.String[] names)
names
- The names of the properties.int getM(java.lang.String mName)
mName
- Matrix name.java.lang.String[] getMatrices()
int getN(java.lang.String mName)
mName
- Matrix name.int getNnz(java.lang.String mName)
mName
- Matrix name.java.lang.String[] getOutputs()
java.lang.String[] getParameters()
int[] getSparseMatrixCol(java.lang.String mName)
mName
- Matrix name.int[] getSparseMatrixRow(java.lang.String mName)
mName
- Matrix name.double[] getSparseMatrixVal(java.lang.String mName)
mName
- Matrix name.double[] getSparseMatrixValImag(java.lang.String mName)
mName
- Matrix name.java.lang.String getString(java.lang.String name)
getString
in interface PropFeature
name
- Property name.java.lang.String[] getValues(java.lang.String[] names)
names
- The names of the values.double[] getVector(java.lang.String mName)
mName
- Matrix name.double[] getVectorImag(java.lang.String mName)
mName
- Matrix name.java.lang.String[] getVectors()
boolean isReal(java.lang.String mName)
mName
- Matrix name.true
if matrix is real.void renameControl(java.lang.String currentName, java.lang.String newName)
renameControl
in interface ReducedModelBase
currentName
- The current name of the variable.newName
- The new name of the variable.void renameOutput(java.lang.String currentName, java.lang.String newName)
currentName
- The current name of the variable.newName
- The new name of the variable.ReducedModel set(java.lang.String name, java.lang.String value)
set
in interface PropFeature
name
- Property name.value
- Property value.void setControl(java.lang.String name, java.lang.String value)
setControl
in interface ReducedModelBase
name
- The name of the control.value
- The value of the control.void setParameter(java.lang.String name, java.lang.String value)
name
- The name of the parameter.value
- The value of the parameter.