1function C = abs (G) 2%ABS absolute value. 3% C = abs (G) is the absolute value of each entry of G. 4% C is always real, even if C is complex. 5% 6% See also GrB/sign. 7 8% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 9% SPDX-License-Identifier: GPL-3.0-or-later 10 11G = G.opaque ; 12C = GrB (gb_abs (G)) ; 13 14