Differences From Artifact [c83d02ae5f]:

To Artifact [961e5e7d01]:


90
91
92
93
94
95
96
97

98
99
100
101
102
103

104
105
106
107
108
109
110
90
91
92
93
94
95
96

97
98
99
100
101
102

103
104
105
106
107
108
109
110







-
+





-
+







	    $input,
	    $in_causality,
	    $in_port) = @args;

	if (($out_port == 2) and
	    ($in_port  == 1))
	{			# uni-causal
	    $retval = "((input)*(gain))";
	    $retval = "(($input)*($gain))";
	}

	elsif (($out_port == 1) and
	       ($in_port  == 2))
	{			# bi-causal
	    $retval = "((input)/(gain))";
	    $retval = "(($input)/($gain))";
	}
    }
    
    if ($retval)
    {
	return $retval;
    }

MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]