1function s = isbycol (A)
2%GRB.ISBYCOL true if A is stored by column, false if by column.
3% s = GrB.isbycol (A) is true if A is stored by column, false if by row.
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.isbyrow, 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 col')  ;
15else
16    s = true ;
17end
18
19