Home > manopt > tools > multiherm.m

multiherm

PURPOSE ^

Returns the Hermitian parts of the matrices in the 3D matrix X

SYNOPSIS ^

function Y = multiherm(X)

DESCRIPTION ^

 Returns the Hermitian parts of the matrices in the 3D matrix X

 function Y = multiherm(X)

 Y is a 3D matrix the same size as X. Each slice Y(:, :, i) is the
 Hermitian part of the slice X(:, :, i).

 See also: multiprod multitransp multihconj multiscale multiskew

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function Y = multiherm(X)
0002 % Returns the Hermitian parts of the matrices in the 3D matrix X
0003 %
0004 % function Y = multiherm(X)
0005 %
0006 % Y is a 3D matrix the same size as X. Each slice Y(:, :, i) is the
0007 % Hermitian part of the slice X(:, :, i).
0008 %
0009 % See also: multiprod multitransp multihconj multiscale multiskew
0010 
0011 % This file is part of Manopt: www.manopt.org.
0012 % Original author: Hiroyuki Sato, April 27, 2015.
0013 % Contributors:
0014 % Change log:
0015 
0016     Y = .5*(X + multihconj(X));
0017     
0018 end

Generated on Sat 12-Nov-2016 14:11:22 by m2html © 2005