1function C = ceil (G) 2%CEIL round entries of a matrix to nearest integers towards infinity. 3% 4% See also GrB/floor, GrB/round, GrB/fix. 5 6% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 7% SPDX-License-Identifier: GPL-3.0-or-later 8 9Q = G.opaque ; 10 11if (gb_isfloat (gbtype (Q)) && gbnvals (Q) > 0) 12 C = GrB (gbapply ('ceil', Q)) ; 13else 14 C = G ; 15end 16 17