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