12#ifndef __H__UG__DF_TRANSFORM_H_
13#define __H__UG__DF_TRANSFORM_H_
27template<
class TAlgebra>
48 Anew.set_as_copy_of(A);
51 const size_t N = A.num_rows();
52 for(
size_t i=0; i < N; i++)
56 const typename TAlgebra::matrix_type::row_iterator rowEnd = Anew.end_row(i);
57 for(
typename TAlgebra::matrix_type::row_iterator ij_iter = Anew.begin_row(i);
58 ij_iter != rowEnd; ++ij_iter)
60 typename TAlgebra::matrix_type::value_type &Aij = ij_iter.value();
64 for (
size_t beta=0; beta<
GetCols(Aij); ++beta)
85 const size_t N = rhs_new.size();
86 for(
size_t i=1; i < N; i++)
97template<
class TAlgebra>
110 const size_t N = A.num_rows();
113 for(
size_t i=1; i < N; i++)
115 const typename TAlgebra::matrix_type::value_type &Aii=A(i,i);
133template<
class TAlgebra>
146 const size_t N = A.num_rows();
149 for(
size_t i=1; i < N; i++)
151 const typename TAlgebra::matrix_type::value_type &Aii=A(i,i);
const number & BlockRef(const number &m, size_t i)
size_t GetCols(const DenseMatrix< T > &t)