1function C = atan (G) 2%ATAN inverse tangent. 3% C = atan (G) is the inverse tangent of each entry of G. 4% 5% See also GrB/tan, GrB/tanh, GrB/atanh, GrB/atan2. 6 7% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 8% SPDX-License-Identifier: GPL-3.0-or-later 9 10G = G.opaque ; 11 12if (~gb_isfloat (gbtype (G))) 13 op = 'atan.double' ; 14else 15 op = 'atan' ; 16end 17 18C = GrB (gbapply (op, G)) ; 19 20