1function C = acos (G) 2%ACOS inverse cosine. 3% C = acos (G) is the inverse cosine of each entry of G. 4% Since acos (0) is nonzero, the result is a full matrix. 5% C is complex if any (abs(G) > 1). 6% 7% See also GrB/cos, GrB/cosh, GrB/acosh. 8 9% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 10% SPDX-License-Identifier: GPL-3.0-or-later 11 12G = G.opaque ; 13C = GrB (gb_trig ('acos', G)) ; 14 15