44 #include "DenseLinAlgPack_delete_row_col.hpp"
45 #include "DenseLinAlgPack_DMatrixClass.hpp"
46 #include "DenseLinAlgPack_DMatrixAsTriSym.hpp"
48 void DenseLinAlgPack::delete_row_col(
size_type kd, DMatrixSliceTriEle* tri_M )
55 DMatrixSlice M = tri_M->gms();
58 if( tri_M->uplo() == BLAS_Cpp::lower ) {
60 if( 1 < kd && kd < n ) {
63 M.row(i)(rng) = M.row(i+1)(rng);
68 M.col(i)(i,n-1) = M.col(i+1)(i+1,n);
71 else if( tri_M->uplo() == BLAS_Cpp::upper ) {
73 if( 1 < kd && kd < n ) {
76 M.col(j)(rng) = M.col(j+1)(rng);
81 M.col(j)(kd,j) = M.col(j+1)(kd+1,j+1);
size_type rows(size_type rows, size_type cols, BLAS_Cpp::Transp _trans)
#define TEUCHOS_TEST_FOR_EXCEPT(throw_exception_test)