/usr/share/freemat/toolbox/matrix/transpose.m is in freemat-data 4.0-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | % TRANSPOSE TRANSPOSE Overloaded Transpose Operator
%
% Usage
%
% This is a method that is invoked when a variable has the
% transpose operator method applied, and is invoked
% when you call
%
% c = transpose(a)
%
% or
%
% / c = a.'
%
% TRANSPOSE TRANSPOSE Matrix Transpose Operator
%
% Usage
%
% Performs a transpose of the argument (a 2D matrix). The syntax for its use is
%
% y = a.';
%
% where a is a M x N numerical matrix. The output y is a numerical matrix
% of the same type of size N x M. This operator is the non-conjugating transpose,
% which is different from the Hermitian operator ' (which conjugates complex values).
% TRANSPOSE TRANSPOSE Matrix Transpose
%
% Usage
%
% Performs a (nonconjugate) transpose of a matrix. The syntax for
% its use is
%
% y = transpose(x)
%
% and is a synonym for y = x.'.
% Copyright (c) 2002-2007 Samit Basu
% Licensed under the GPL
function y = transpose(x)
y = x.';
|