1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
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') ;
|