Copyright © 2018
ATA ENGINEERING, INC.
ALL RIGHTS RESERVED
/* COPYRIGHT (C) 2018 BY ATA ENGINEERING, INC. ALL RIGHTS RESERVED */ function MyNormalize extends Modelica.Icons.Function; import Modelica.Math.Vectors; input Real v[:] "Real vector"; input Integer ind "Index of output vector to return"; output Real result "Input vector v normalized to length=1, at index provided"; end MyNormalize;