1function C = log10 (G)
2%LOG10 base-10 logarithm.
3% C = log10 (G) is the base-10 logarithm of each entry of G.
4% Since log10 (0) is nonzero, the result is a full matrix.
5% If any entry in G is negative, the result is complex.
6%
7% See also GrB/log, GrB/log1p, GrB/log2, GrB/exp.
8
9% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
10% SPDX-License-Identifier: GPL-3.0-or-later
11
12G = G.opaque ;
13C = GrB (gb_to_real_if_imag_zero (gb_trig ('log10', gbfull (G)))) ;
14
15