.Modelica_LinearSystems2.WorkInProgress.Math.Complex.Matrices.conditionNumber

Information

Calculate the condition number norm(A)*norm(inv(A))

Interface

encapsulated function conditionNumber
  extends Modelica.Icons.Function;
  import Complex;
  import Modelica_LinearSystems2;
  import Modelica;
  input Complex A[:, :] "Input matrix";
  input Real p(min = 1) = 2 "Type of p-norm (only allowed: 1, 2 or Modelica.Constants.inf)";
  output Real result = 0.0 "p-norm of matrix A";
end conditionNumber;

Generated at 2025-01-06T19:25:54Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos