.Modelica_LinearSystems2.Math.Matrices.Internal.frobeniusNorm

Information

Return the Frobenius norm of a matrix

Interface

function frobeniusNorm
  extends Modelica.Icons.Function;
  input Real A[:, :] "Input matrix";
  output Real result = if min(size(A)) > 0 then sqrt(sum(A.*A)) else -1e100 "frobenius norm of matrix A";
end frobeniusNorm;

Revisions

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

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