1function test163 2%TEST163 test C<!M>=A'*B where C and M are sparse 3 4% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 5% SPDX-License-Identifier: Apache-2.0 6 7semiring.add = 'plus' ; 8semiring.multiply = 'times' ; 9semiring.class = 'double' ; 10 11rng ('default') ; 12 13n = 1000 ; 14m = 10 ; 15A = sprand (m, n, 0.1) ; 16B = sprand (m, n, 0.1) ; 17M = logical (sprand (n, n, 0.1)) ; 18Cin = sparse (n, n) ; 19dtn = struct ('inp0', 'tran', 'mask', 'complement', 'axb', 'dot') ; 20 21C1 = double (~M) .* (A'*B) ; 22C2 = GB_mex_mxm (Cin, M, [ ], semiring, A, B, dtn) ; 23GB_spec_compare (C1, C2) ; 24 25