function linspaceExt input Real x1; input Real x2; input Integer N; output Real vec[N]; end linspaceExt;