.Modelica_LinearSystems2.WorkInProgress.Tests.Internal.xBase

Information

Compute the eigenvector bases according to Kautsky algorithm

Interface

function xBase
  import Modelica_LinearSystems2;
  import Complex;
  import Re = Modelica.ComplexMath.real;
  import Im = Modelica.ComplexMath.imag;
  input Real A[:, size(A, 1)] "Real square system matrix";
  input Real B[size(A, 1), :] "Real input matrix";
  input Complex gamma[size(A, 1)] "Assigned complex eigenvalues";
  input Integer ncp "Number of complex pairs of eigenvalues";
  output Real U0[size(A, 1), size(B, 2)] "U0 and Z are the decompositions of B";
  output Real Z[size(B, 2), size(B, 2)] "Z and U0 are the decompositions of B";
  output Complex S[size(A, 1), (size(A, 1) - ncp)*size(B, 2)] "Eigenvector bases";
  output Integer rankB;
end xBase;

Generated at 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos