function scalarMin<ScalarBasicType> input ScalarBasicType a; input ScalarBasicType b; output ScalarBasicType m; end scalarMin;