1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
function gbtest116
%GBTEST116 list all idxunop operators for GrB.apply2
% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2022, All Rights Reserved.
% SPDX-License-Identifier: Apache-2.0
opnames = {
'tril',
'triu',
'diag',
'offdiag',
'diagindex',
'rowindex',
'rowle',
'rowgt',
'colindex',
'colle',
'colgt' } ;
for k1 = 1:length(opnames)
op = opnames {k1} ;
fprintf ('\n=================================== %s\n', op) ;
GrB.binopinfo (op) ;
end
fprintf ('gbtest116: all tests passed\n') ;
|