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