encapsulated function fromArrays
import Modelica;
import Modelica_LinearSystems2.DiscreteTransferFunction;
import Modelica_LinearSystems2;
input Real n[:] "Coefficients of numerator polynomial";
input Real d[:] "Coefficients of denominator polynomial";
input Modelica.Units.SI.Time Ts "Sample time";
input Modelica_LinearSystems2.Utilities.Types.Method method = Modelica_LinearSystems2.Utilities.Types.Method.Trapezoidal "Discretization method";
input String uName = "" "Input name";
input String yName = "" "Output name";
output DiscreteTransferFunction dtf(redeclare Real n[size(n, 1)], redeclare Real d[size(d, 1)]) "Transfer function";
end fromArrays;