mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
In matlab and octave the expression A' produces the Hermitian conjugate, the complex conjugate of the transpose. Now transpose produces the transpose, while ctranspose produces the conjugate transpose. These are equal for real numbers, while for complex numbers only the conjugate transpose is of much use.
18 lines
387 B
JavaScript
18 lines
387 B
JavaScript
module.exports = {
|
|
'name': 'transpose',
|
|
'category': 'Matrix',
|
|
'syntax': [
|
|
'x\'',
|
|
'ctranspose(x)'
|
|
],
|
|
'description': 'Complex Conjugate and Transpose a matrix',
|
|
'examples': [
|
|
'a = [1, 2, 3; 4, 5, 6]',
|
|
'a\'',
|
|
'ctranspose(a)'
|
|
],
|
|
'seealso': [
|
|
'concat', 'det', 'diag', 'eye', 'inv', 'ones', 'range', 'size', 'squeeze', 'subset', 'trace', 'zeros'
|
|
]
|
|
};
|