Returns the skew-symmetric parts of the matrices in the 3D matrix X. function Y = multiskew(X) Y is a 3D matrix the same size as X. Each slice Y(:, :, i) is the skew-symmetric part of the slice X(:, :, i). See also: multiskewh multiprod multitransp multiscale multisym
0001 function Y = multiskew(X) 0002 % Returns the skew-symmetric parts of the matrices in the 3D matrix X. 0003 % 0004 % function Y = multiskew(X) 0005 % 0006 % Y is a 3D matrix the same size as X. Each slice Y(:, :, i) is the 0007 % skew-symmetric part of the slice X(:, :, i). 0008 % 0009 % See also: multiskewh multiprod multitransp multiscale multisym 0010 0011 % This file is part of Manopt: www.manopt.org. 0012 % Original author: Nicolas Boumal, Jan. 31, 2013. 0013 % Contributors: 0014 % Change log: 0015 0016 Y = .5*(X - multitransp(X)); 0017 0018 end