function C = csch (G) %CSCH hyperbolic cosecant. % C = csch (G) is the hyperbolic cosecant of each entry of G. % Since csch(0) is nonzero, C is a full matrix. % % See also GrB/csc, GrB/acsc, GrB/acsch. % SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. % SPDX-License-Identifier: GPL-3.0-or-later G = G.opaque ; if (~gb_isfloat (gbtype (G))) op = 'sinh.double' ; else op = 'sinh' ; end C = GrB (gbapply ('minv', gbfull (gbapply (op, G)))) ;