Solve linear system with banded system matrix and right hand side matrix (similar to Modelica.Matrices.solve)
function solveBandedWithMatrix extends Modelica.Icons.Function; input Integer kLower "Number of lower bands"; input Integer kUpper "Number of upper bands"; input Real A[2*kLower + kUpper + 1, :] "Matrix A of A*X = B"; input Real B[size(A, 2), :] "Matrix B of A*X = B"; output Real X[size(A, 2), size(B, 2)] = B "Matrix X such that A*X = B"; output Integer info; end solveBandedWithMatrix;