There are two cases to consider. The case where the result of the method is not a multiarray, and the case where the result is a multiarray. First we consider the case where the result is not a multiarray. The general scheme is illustrated in Figure A.31. This scheme is modified in trivial ways if the method is static, or is applied to the current object.
The macro TRANS_ARGS evaluates to a list of translated expressions.
We will define it in terms of the simpler macro TRANS_ARG
which operates on a single argument. If the invoked method (or, in
later sections, constructor) is not an HPspmd method
(or constructor) the definition is:
| SOURCE:
TRANSLATION:
where:
|