function C = not (G)
%~ logical negation.
% C = ~G computes the logical negation of G.  The result C is full.  To negate
% just the entries in the pattern of G, use C = GrB.apply ('~.logical', G),
% which has the same pattern as G.
%
% See also GrB.apply.

% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2026, All Rights Reserved.
% SPDX-License-Identifier: Apache-2.0

C = gzb_apply (0, '~', gzb_full (1, G, 'logical')) ;

