函数 ctranspose #

转置并复共轭矩阵。矩阵的所有值都会沿着其主对角线翻转,然后取复共轭。这对于标量和向量来说等同于复共轭。

Syntax #

math.ctranspose(x)

Parameters #

Parameter Type Description
x Array | Matrix 要进行ctranspose的矩阵

Returns #

Type Description
Array | Matrix ctransposed后的矩阵

Throws #

Type | Description —- | ———–

Examples #

const A = [[1, 2, 3], [4, 5, math.complex(6,7)]]
math.ctranspose(A)      // returns [[1, 4], [2, 5], [3, {re:6,im:-7}]]

另请参阅 #

transpose, diag, inv, subset, squeeze

Fork me on GitHub