Squared absolute value. For complex numbers, this is the squared complex magnitude, or real(t)2 + imag(t)2. For real numbers, this is equivalent to the squared value, or t2.
.. doxygenfunction:: abs2(Op t)
.. literalinclude:: ../../../../test/00_operators/OperatorTests.cu :language: cpp :start-after: example-begin abs2-test-1 :end-before: example-end abs2-test-1 :dedent: