37#ifndef STK_TRANSPOSE_H
38#define STK_TRANSPOSE_H
50template <
class TContainer2D>
53 if(
A.rows()!=
A.cols())
60 for (
int i=
A.beginRows();
i<
A.endRows();
i++)
61 for (
int j=
i+1;
j<
A.endCols();
j++) { std::swap(
A(
i,
j),
A(
j,
i));}
In this file we define the base class for Arrays.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
TContainer2D & transpose(ArrayBase< TContainer2D > &A)
The transpose method allow to transpose an array in place.
The namespace STK is the main domain space of the Statistical ToolKit project.