function C = cs_transpose (A) %#ok %CS_TRANSPOSE transpose a sparse matrix. % C = cs_transpose(A), computes C = A' % C = cs_transpose(A,-1) computes C=A.' % C = cs_transpose(A,1) computes C=A' % % Example: % Prob = ssget ('HB/ibm32') ; A = Prob.A ; % C = cs_transpose (A) ; % C-A' % % See also TRANSPOSE, CTRANSPOSE. % CXSparse, Copyright (c) 2006-2022, Timothy A. Davis. All Rights Reserved. % SPDX-License-Identifier: LGPL-2.1+ error ('cs_transpose mexFunction not found') ;