File: sptranspose.m

package info (click to toggle)
suitesparse 1%3A7.10.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 254,920 kB
  • sloc: ansic: 1,134,743; cpp: 46,133; makefile: 4,875; fortran: 2,087; java: 1,826; sh: 996; ruby: 725; python: 495; asm: 371; sed: 166; awk: 44
file content (17 lines) | stat: -rw-r--r-- 706 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function C = sptranspose (A,conj)                                           %#ok
%SPTRANSPOSE: compute the transpose, or conjugate-transpose, of a sparse matrix.
% This function is faster and more memory-efficient than the built-in sparse
% transpose and ctranspose, at least in versions of MATLAB prior to 7.7 or so,
% when the MATLAB built-in operator was upgraded by The MathWorks, Inc.
%
% Example:
%       C = sptranspose (A) ;       % computes C = A.'
%       C = sptranspose (A,1) ;     % computes C = A'
%
% See also transpose, ctranspose.

% SSMULT, Copyright (c) 2007-2011, Timothy A Davis. All Rights Reserved.
% SPDX-License-Identifier: GPL-2.0+

error ('sptranspose mexFunction not found') ;