1function selectopinfo (op) 2%GRB.SELECTOPINFO list the details of a GraphBLAS select operator. 3% 4% GrB.selectopinfo 5% GrB.selectopinfo (op) 6% 7% For GrB.selectop(op), the op must be one of the following strings. 8% Some of the operators have equivalent synonyms. 9% 10% op MATLAB equivalent 11% -------- ----------------- 12% 'tril' C = tril (A,b) 13% 'triu' C = triu (A,b) 14% 'diag' C = diag (A,b) 15% 'offdiag' C = entries not in diag(A,b) 16% '~=0' 'nonzero' C = A (A ~= 0) 17% '==0' 'zero' C = A (A == 0) 18% '>0' 'positive' C = A (A > 0) 19% '>=0' 'nonnegative' C = A (A >= 0) 20% '<0' 'negative' C = A (A < 0) 21% '<=0' 'nonpositive' C = A (A <= 0) 22% '~=' C = A (A ~= b) 23% '==' C = A (A == b) 24% '>' C = A (A > b) 25% '>=' C = A (A >= b) 26% '<' C = A (A < b) 27% '<=' C = A (A <= b) 28% 29% All select operators are type-generic, so no '.' appears, as they do for 30% other operators. 31% 32% Example: 33% 34% GrB.selectopinfo ; 35% GrB.selectopinfo ('tril') ; 36% 37% See also GrB.binopinfo, GrB.descriptorinfo, GrB.monoidinfo, 38% GrB.semiringinfo, GrB.unopinfo. 39 40% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 41% SPDX-License-Identifier: GPL-3.0-or-later 42 43if (nargin == 0) 44 help GrB.selectopinfo 45else 46 gbselectopinfo (op) ; 47end 48 49