Conjugate transpose: Difference between revisions
Content added Content deleted
m (→{{header|RPL}}) |
m (→{{header|J}}) |
||
Line 1,736: | Line 1,736: | ||
'''Solution''': <syntaxhighlight lang="j"> ct =: +@|: NB. Conjugate transpose (ct A is A_ct)</syntaxhighlight> |
'''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) |
'''Examples''': <syntaxhighlight lang="j"> X =: +/ . * NB. Matrix Multiply (x) |
||