1function C = conj (G)
2%CONJ complex conjugate.
3% C = conj (G) is the complex conjugate of each entry of G.
4%
5% See also GrB/real, GrB/imag.
6
7% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
8% SPDX-License-Identifier: GPL-3.0-or-later
9
10Q = G.opaque ;
11
12if (contains (gbtype (Q), 'complex'))
13    C = GrB (gbapply ('conj', Q)) ;
14else
15    C = G ;
16end
17
18