Movatterモバイル変換


[0]ホーム

URL:


SciPy

numpy.matrix.H

matrix.H

Returns the (complex) conjugate transpose ofself.

Equivalent tonp.transpose(self) ifself is real-valued.

Parameters:
None
Returns:
ret:matrix object

complex conjugate transpose ofself

Examples

>>>x=np.matrix(np.arange(12).reshape((3,4)))>>>z=x-1j*x;zmatrix([[  0. +0.j,   1. -1.j,   2. -2.j,   3. -3.j],        [  4. -4.j,   5. -5.j,   6. -6.j,   7. -7.j],        [  8. -8.j,   9. -9.j,  10.-10.j,  11.-11.j]])>>>z.getH()matrix([[  0. +0.j,   4. +4.j,   8. +8.j],        [  1. +1.j,   5. +5.j,   9. +9.j],        [  2. +2.j,   6. +6.j,  10.+10.j],        [  3. +3.j,   7. +7.j,  11.+11.j]])

Previous topic

numpy.matrix.T

Next topic

numpy.matrix.I

Quick search

  • © Copyright 2008-2018, The SciPy community.
  • Last updated on Jul 24, 2018.
  • Created usingSphinx 1.6.6.

[8]ページ先頭

©2009-2025 Movatter.jp