1function gbtest71 2%GBTEST71 test GrB.selectopinfo 3 4% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 5% SPDX-License-Identifier: GPL-3.0-or-later 6 7ops = { 8 'tril' 9 'triu' 10 'diag' 11 'offdiag' 12 '~=0' 13 'nonzero' 14 '==0' 15 'zero' 16 '>0' 17 'positive' 18 '>=0' 19 'nonnegative' 20 '<0' 21 'negative' 22 '<=0' 23 'nonpositive' 24 '~=' 25 '==' 26 '>' 27 '>=' 28 '<' 29 '<=' } ; 30 31nops = length (ops) ; 32for k = 1:nops 33 GrB.selectopinfo (ops {k}) ; 34end 35 36fprintf ('\n\n') ; 37GrB.selectopinfo 38 39fprintf ('# of select ops: %d\n', nops) ; 40fprintf ('gbtest71: all tests passed\n') ; 41 42