1function C = plus (A, B)
2%PLUS sparse matrix addition, C = A+B.
3% C = A+B adds the two matrices A and B.  If A and B are matrices, the
4% pattern of C is the set union of A and B.  If one of A or B is a
5% nonzero scalar, the scalar is expanded into a full matrix the size of
6% the other matrix, and the result is a full matrix.
7%
8% See also GrB.eadd, GrB/minus, GrB/uminus.
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_eadd (A, '+', B)) ;
22
23