function C = abs (G)
%ABS absolute value.
% C = abs (G) is the absolute value of each entry of G.
% C is always real, even if C is complex.
%
% See also GrB/sign.

% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights
% Reserved. http://suitesparse.com.  See GraphBLAS/Doc/License.txt.

G = G.opaque ;
C = GrB (gb_abs (G)) ;

