.OpenModelica.Scripting.solveLinearSystem

Information

Solve A*X = B, using dgesv or lp_solve (if any variable in X is integer)
  Returns for solver dgesv: info>0: Singular for element i. info<0: Bad input.
  For solver lp_solve: ???

Interface

function solveLinearSystem
  input Real[size(B, 1), size(B, 1)] A;
  input Real[:] B;
  input LinearSystemSolver solver = LinearSystemSolver.dgesv;
  input Integer[:] isInt = {-1} "list of indices that are integers";
  output Real[size(B, 1)] X;
  output Integer info;
end solveLinearSystem;

Generated at 2019-07-20T01:38:23Z by OpenModelicaOpenModelica 1.14.0~dev-26614-ga75b5bf using GenerateDoc.mos