1function C = mtimes (A, B)
2%MTIMES sparse matrix-matrix multiplication over the standard semiring.
3% C=A*B multiples two matrices using the standard '+.*' semiring.  If
4% either A or B are scalars, C=A*B is the same as C=A.*B.
5%
6% See also GrB.mxm, GrB.emult, GrB/times.
7
8% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
9% SPDX-License-Identifier: GPL-3.0-or-later
10
11if (isobject (A))
12    A = A.opaque ;
13end
14
15if (isobject (B))
16    B = B.opaque ;
17end
18
19if (gb_isscalar (A) || gb_isscalar (B))
20    C = GrB (gb_emult (A, '*', B)) ;
21else
22    C = GrB (gbmxm (A, '+.*', B)) ;
23end
24
25