Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
18 lines (15 sloc)
494 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Y = multiskewh(X) | |
% Returns the skew-Hermitian parts of the matrices in the 3D matrix X. | |
% | |
% function Y = multiskewh(X) | |
% | |
% Y is a 3D matrix the same size as X. Each slice Y(:, :, i) is the | |
% skew-Hermitian part of the slice X(:, :, i). | |
% | |
% See also: multiskew multisym multiherm multiprod multitransp multiscale | |
% This file is part of Manopt: www.manopt.org. | |
% Original author: Nicolas Boumal, June 18, 2019. | |
% Contributors: | |
% Change log: | |
Y = .5*(X - multihconj(X)); | |
end |