.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 2024-11-23T19:25:52Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos