ctranspose: Simplify method selection

This commit is contained in:
Jack Schmidt 2018-05-05 11:33:26 -04:00
parent e1f0791574
commit 088ac99f65

View File

@ -30,17 +30,8 @@ function factory (type, config, load, typed) {
*/
var ctranspose = typed('ctranspose', {
'Array': function (x) {
return conj( transpose( x ) );
},
'Matrix': function (x) {
return conj( transpose( x ) );
},
// scalars
'any': function (x) {
return conj(x);
return conj( transpose( x ) );
}
});