dune-istl
2.7.0
|
Some handy generic functions for ISTL matrices. More...
#include <set>
#include <vector>
#include <limits>
#include <dune/common/typetraits.hh>
#include <dune/common/fmatrix.hh>
#include <dune/common/dynmatrix.hh>
#include <dune/common/diagonalmatrix.hh>
#include <dune/common/unused.hh>
#include <dune/common/scalarmatrixview.hh>
#include <dune/istl/scaledidmatrix.hh>
#include "istlexception.hh"
Go to the source code of this file.
Namespaces | |
Dune | |
Functions | |
template<class M > | |
auto | Dune::countNonZeros (const M &matrix, typename std::enable_if_t< Dune::IsNumber< M >::value > *sfinae=nullptr) |
Get the number of nonzero fields in the matrix. More... | |
template<class M > | |
auto | Dune::countNonZeros (const M &matrix, typename std::enable_if_t<!Dune::IsNumber< M >::value > *sfinae=nullptr) |
template<class M , class C > | |
void | Dune::printGlobalSparseMatrix (const M &mat, C &ooc, std::ostream &os) |
Some handy generic functions for ISTL matrices.