1function C = times (A, B)
2%TIMES C = A.*B, sparse matrix element-wise multiplication.
3% C = A.*B computes the element-wise multiplication of A and B.  If both
4% A and B are matrices, the pattern of C is the intersection of A and B.
5% If one is a scalar, the pattern of C is the same as the pattern of the
6% one matrix.
7%
8% See also GrB/mtimes, GrB.emult, GrB.mxm.
9
10% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
11% SPDX-License-Identifier: GPL-3.0-or-later
12
13if (isobject (A))
14    A = A.opaque ;
15end
16
17if (isobject (B))
18    B = B.opaque ;
19end
20
21C = GrB (gb_emult (A, '*', B)) ;
22
23