matrixutils.hh File Reference


Detailed Description

Some handy generic functions for ISTL matrices.

Author:
Markus Blatt

#include <dune/common/typetraits.hh>
#include <dune/common/helpertemplates.hh>
#include "istlexception.hh"

Go to the source code of this file.


Namespaces

namespace  Dune

Classes

struct  Dune::CheckIfDiagonalPresent< blocklevel, l >
 Check whether the a matrix has diagonal values on blocklevel recursion levels. More...

Functions

template<class M>
int Dune::countNonZeros (const M &matrix)
 Get the number of nonzero fields in the matrix.

Generated on 12 Dec 2007 with Doxygen (ver 1.5.1)