VSIPL 1.6 RTF Avatar
  1. OMG Issue

VSIPL16 — maxmg etc. of complex should return real values

  • Key: VSIPL16-7
  • Legacy Issue Number: 18202
  • Status: open  
  • Source: dpdx.net ( Brooks Moses)
  • Summary:

    The mag() and magsq() elementwise functions are defined to return real
    views from complex views, as one would expect.

    However, the maxmg, maxmgsq, minmg, and minmgsq reduction functions –
    which ought to be simply the maximum/minimum of the mag and magsq
    results, are defined to return complex values. They should likewise
    return real values.

    (Note that the Mentor Graphics implementation already does return real
    values from these functions. The change is unlikely to break user code
    in any case; if the user assigns the result to a complex variable, that
    will still work when the functions return real values.)

  • Reported: VSIPL++ 1.2 — Tue, 23 Oct 2012 04:00 GMT
  • Updated: Fri, 6 Mar 2015 20:57 GMT