public void Dswap(DoubleMatrix2D A, DoubleMatrix2D B) { //B.Swap(A); not yet implemented A.CheckShape(B); for (int i = A.Rows; --i >= 0;) { A.ViewRow(i).Swap(B.ViewRow(i)); } }