transposeToColumn function
Matrix
transposeToColumn(
- Matrix input
Implementation
Matrix transposeToColumn(Matrix input) {
assert(input.rowsNum == 1 || input.columnsNum == 1);
if (input.columnsNum != 1) {
return input.transpose();
}
return input;
}