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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
|
function [binops, synonyms] = gbtest_binops
%GBTEST_BINOPS list of all binary operators
% Types are not included; see gbtest_types.
%
% [binops synonyms] = gbtest_binops ;
%
% returns a list of the names of the operators in binops, and a list of
% their synonyms in the 2nd output.
%
% See also GrB.binopinfo.
% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2022, All Rights Reserved.
% SPDX-License-Identifier: Apache-2.0
binops = {
'1st'
'2nd'
'pair'
'oneb' % identical to pair
'any'
'min'
'max'
'+'
'-'
'rminus'
'*'
'/'
'\'
'iseq'
'isne'
'isgt'
'islt'
'isge'
'isle'
'=='
'~='
'>'
'<'
'>='
'<='
'|'
'&'
'xor'
'atan2'
'hypot'
'fmod'
'remainder'
'copysign'
'cmplx'
'pow2'
'xnor'
'pow'
'bitor'
'bitand'
'bitxor'
'bitxnor'
'firsti0'
'firsti1'
'firstj0'
'firstj1'
'secondi0'
'secondi1'
'secondj0'
'secondj1'
} ;
synonyms = {
'first'
'second'
'plus'
'times'
'rdiv'
'div'
'minus'
'or'
'lor'
'and'
'land'
'lxor'
'||'
'&&'
'eq'
'ne'
'ge'
'le'
'lt'
'gt'
'lxnor' } ;
|