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