1function C = log1p (G)
2%LOG1P natural logarithm.
3% C = log1p (G) is log(1+x) for each entry x of G.
4% If any entry in G is < -1, the result is complex.
5%
6% See also GrB/log, GrB/log2, GrB/log10, GrB/exp.
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 ;
12C = GrB (gb_trig ('log1p', G)) ;
13
14