If the return value in matop mode is complex, then the values are often composed in two neighbouring diagonals in the same matrix. Change that to return two neighbouring square matrices, with one returning the real and one returning the imaginary parts of the result. This allows the user to select the real values direclty by writing
matop someMatrix() = [4x4 matrix];
matop realVal() = diag(someMatrix())(:,1:4)
This change requires modifications in the functions parser_calcEigenVects() and parser_makeReal(). Additionally the documentation article concerning matrix functions and the corresponding language strings have to be adapted.
This change was added to the automatic SW tests. No deviations detected.
Anonymous
Diff:
Diff:
Diff:
Related
Commit: [r407]
Diff: