function Xindex = cindex(X)
% Array Indexing
%
% function Xindex = cindex(X)
%
% Indexing X according to the user's need. Fill the ... in the bracket.
% The input should accept either a numeric array or a struct with fields
% real and imag.
%
% See also: manoptADhelp

% This file is part of Manopt: www.manopt.org.
% Original author: Xiaowen Jiang, July 31, 2021.
% Contributors:
% Change log: 

    fprintf(['cindex: This is a template. Please create your own ' ...
             'function following the instructions in the comments.'])

    % if iscstruct(X)
    %    Xindex.real = X(...);
    %    Xindex.imag = X(...);
    % elseif isnumeric(X)
    %    Xindex = X(...);
    % else
    %    ME = MException('cindex:inputError', ...
    %    'Input does not have the expected format.');
    %    throw(ME);
    % end

end
