/[escript]/branches/diaplayground/cusplibrary/cusp/detail/format_utils.inl
ViewVC logotype

Diff of /branches/diaplayground/cusplibrary/cusp/detail/format_utils.inl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4955 by caltinay, Tue May 20 04:33:15 2014 UTC revision 4956 by caltinay, Tue May 20 12:34:41 2014 UTC
# Line 202  template <typename Matrix, typename Arra Line 202  template <typename Matrix, typename Arra
202  void extract_diagonal(const Matrix& A, Array& output, cusp::hyb_format)  void extract_diagonal(const Matrix& A, Array& output, cusp::hyb_format)
203  {  {
204      typedef typename Matrix::index_type  IndexType;      typedef typename Matrix::index_type  IndexType;
205      typedef typename Array::value_type   ValueType;      //typedef typename Array::value_type   ValueType;
206            
207      // extract COO diagonal      // extract COO diagonal
208      cusp::detail::extract_diagonal(A.coo, output);      cusp::detail::extract_diagonal(A.coo, output);

Legend:
Removed from v.4955  
changed lines
  Added in v.4956

  ViewVC Help
Powered by ViewVC 1.1.26