1function w = GB_spec_Col_extract (w, mask, accum, A, I, j, descriptor)
2%GB_SPEC_COL_EXTRACT a MATLAB mimic of GrB_Col_extract
3
4% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
5% SPDX-License-Identifier: Apache-2.0
6
7if (nargout > 1 || nargin ~= 7)
8    error ('usage: w = GB_spec_Col_extract (w, mask, accum, A, I, j, desc)');
9end
10
11% make sure j is a scalar
12if (length (j) ~= 1)
13    error ('j must be a scalar') ;
14end
15
16w = GB_spec_Matrix_extract (w, mask, accum, A, I, j, descriptor) ;
17
18
19
20