Conjugate transpose: Difference between revisions
m
→{{header|J}}
m (→{{header|RPL}}) |
m (→{{header|J}}) |
||
Line 1,736:
'''Solution''': <syntaxhighlight lang="j"> ct =: +@|: NB. Conjugate transpose (ct A is A_ct)</syntaxhighlight>
<code>+</code> when used without a left argument is conjugate, <code>|:</code> is transpose, and <code>@</code> composes functions.
'''Examples''': <syntaxhighlight lang="j"> X =: +/ . * NB. Matrix Multiply (x)
|