.Modelica_LinearSystems2.Math.Matrices.rcond

Information

Syntax

        r = Matrices.rcond(A);
(r, info) = Matrices.rcond(A, false);

Description

This function estimates the reciprocal of the condition number (norm(A) * norm(inv(A))) of a general real matrix A, in either the 1-norm or the infinity-norm, using the LAPACK function DGECON.

Example

  A = [1, 2
       2, 1];
  r = rcond(A);

  results in:

  r = 0.3333

See also

Matrices.conditionNumber

Interface

function rcond
  extends Modelica.Icons.Function;
  input Real A[:, size(A, 1)] "Square real matrix";
  input Boolean inf = false "Is true if infinity norm is used and false for 1-norm";
  output Real rcond "Reciprocal condition number of A";
  output Integer info "Information";
end rcond;

Revisions

Date Author Comment
2010-05-31 Marcus Baur, DLR-RM Realization

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos