function [x no_value] = GB_spec_Vector_extractElement (A, i, xclass)
%GB_SPEC_VECTOR_EXTRACTELEMENT a mimic of GrB_Matrix_extractElement

% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2022, All Rights Reserved.
% SPDX-License-Identifier: Apache-2.0

if (size (A,2) ~= 1)
    error ('invalid vector') ;
end

[x no_value] = GB_spec_Matrix_extractElement (A, i, 0, xclass) ;


