Method of mdss.
Collapse duplicate structure-matrix columns and empty parameter-matrix columns.
Source: src/model/@mdss/trivialReduction.m
sys = trivialReduction(sys)trivialReduction simplifies the CPN representation of
the model without changing its behaviour. It removes redundancy
introduced when models are combined or eliminated:
structureMatrixTrue,
structureMatrixFalse,
structureMatrixContinuous) are compared column-wise;
columns with identical variable support are kept once, and the
corresponding parameter-matrix coefficients of the merged columns are
summed.After reduction the parameter matrices, structure matrices,
equalityIndex, inequalityIndex and the tensor
rank are rebuilt, and a message reports how many columns and equations
were removed. It is applied automatically at the end of operations such
as algebraicElimination
and the connection routines.
| Argument | Description |
|---|---|
sys |
The mdss model to reduce. |
| Output | Description |
|---|---|
sys |
The reduced model, structurally equivalent to the input. |
sys = trivialReduction(sys);mdss · algebraicElimination
· connectByIndices
· connect
MyToolbox Documentation | Generated automatically by CI/CD pipeline