1function C = acsc (G) 2%ACSC inverse cosecant. 3% C = acsc (G) is the inverse cosecant of each entry of G. 4% Since acsc (0) is nonzero, C is a full matrix. 5% 6% See also GrB/csc, GrB/csch, GrB/acsch. 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 ; 12type = gbtype (G) ; 13 14if (~gb_isfloat (type)) 15 type = 'double' ; 16end 17 18C = GrB (gb_trig ('asin', gbapply ('minv', gbfull (G, type)))) ; 19 20