1function s = isbyrow (A) 2%GRB.ISBYROW true if A is stored by row, false if by column. 3% s = GrB.isbyrow (A) is true if A is stored by row, false if by column. 4% A may be a GraphBLAS matrix or MATLAB matrix (sparse or full). MATLAB 5% matrices are always stored by column. 6% 7% See also GrB.isbycol, GrB.format. 8 9% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. 10% SPDX-License-Identifier: GPL-3.0-or-later 11 12if (isobject (A)) 13 A = A.opaque ; 14 s = isequal (gbformat (A), 'by row') ; 15else 16 s = false ; 17end 18