| 48 | */ |
| 49 | template<class A> |
| 50 | SymmetryHandle |
| 51 | columns_interchange(const Matrix<A>& m) { |
| 52 | typename Matrix<A>::ArgsType xs; |
| 53 | for (int c = 0 ; c < m.width() ; c++) |
| 54 | xs << m.col(c); |
| 55 | return VariableSequenceSymmetry(xs, m.height()); |
| 56 | } |
| 57 | |
| 58 | /** \brief Reflect rows symmetry specification. |
| 59 | */ |