With simple examples this function demonstrates how to solve regular linear equation systems with Matrices.solve and Matrices.solve2, and how to solve singular linear equation systems with Matrices.leastSquares and Matrices.leastSquares2.
function solveLinearEquations extends Modelica.Icons.Function; import Modelica.Utilities.Streams.print; end solveLinearEquations;